100 Day Coding Challenge
100 Day Coding Challenge
QUESTION TRACKER
GOAL : To improve Problem Solving Skills by doing 250 Good D
29
250
SUMMARY:
Total Done 29
Easy Easy 10
Medium
Medium 17
Hard
Hard 2
Remaining
Remaining 221
naya mtlb isme bhi alag hi direction me soch raha th: yeh quetion thoda ese confusing sa laga to understand
ahi bataya h ki yadi total sum <0 h toh answer -1 h other wise fir toh jaha negative h uske aage vale ko start kardo me zabardas
hi mene bhot bada code kara h bhot jabki 8 lines hi h basss bhot ahca intution lag gaya isse
ne ' ' kar liya toh answer galat aa raha tha aur me debug bhi nahi kar paa raha tha ki mistake kaha hue h!!
uestion dhang se padhna hi nahi ki numeric ko bhi consider karna h toh uss chakar me ek baar run karne me fail ho gaya toh is
se hi ho gaya
application h kyuki isme phle spaces hatane h and then fir uske baad alag alag words ko fir reverse karna h and then answer n
case ko thoda handle karne me galti ho sakti h toh uske liye sabse badiyaa tarika h ki final answer ham set me store karenge t
i toh isko bhi ek baar baad me revisit karna h
o start kardo me zabardasti complex bana deta hu code ko : M
arne me fail ho gaya toh isi liye meko questions dhng se padhna h
karna h and then answer niklega final inplace without using any extra space!! Iske baad mene isko yadi function use karke bina
am set me store karenge toh fir duplicate vali chez haat jaegi: Isme thought yeh h ki jab bhi esa bola jae na ki answer me duplic
di function use karke bina O(1) me karne ke liye short taruka dekha toh vo stream se hoga: https://www.geeksforgeeks.org/pro
ae na ki answer me duplicates na ho toh usko sidha set me store karo toh duplicate vali chez toh khtm hi ho jaegi usko alag se
ww.geeksforgeeks.org/program-extract-words-given-string/
LEARNING TRACKER
GOAL : To improve Problem Solving Skills by doing 250 Good DSA Questions
Day Link
ng Challenge
by Siddharth Singh