Hi Danielle, Initially I have declared lp for assigning the latest picked value but this was taken care by "latest" variable in while loop so it was unused. Hope this helps😊
@@ddaanniieellllee You can also watch our latest videos on Tree implementation using Python. ruclips.net/video/-xJvpnenx6Y/видео.html ruclips.net/video/3ekQpwvgTR8/видео.html ruclips.net/video/z0Ho8nMNlAM/видео.html ruclips.net/video/GetFKtW_byE/видео.html ruclips.net/video/oEbkT4qSibQ/видео.html ruclips.net/video/EeCFKDXBUFo/видео.html
@@codingcart i'm currently a begginner learning python so i'll definitely be watching more of your videos as i learn more and do more problems! thanks!
Hi Sumit, Initially I have declared lp for assigning the latest picked value but this was taken care by "latest" variable in while loop so it was unused. Hope this helps😊
Why did you use latest value When every value piles up when it is less than csv and then latest value would surely less than csv . But when i did the program without latest but it didn't get the answer.u could have explained it moee
i am getting this error for this program Traceback (most recent call last): File "Solution.py", line 7, in l=list(map(int,input().split())) ValueError: invalid literal for int() with base 10: '100{-truncated-
hi! could you please explain what the lp variable is for? (lp=-1) thanks again for creating these videos!
Hi Danielle,
Initially I have declared lp for assigning the latest picked value but this was taken care by "latest" variable in while loop so it was unused.
Hope this helps😊
@@codingcart thanks for clarifying!
@@ddaanniieellllee You can also watch our latest videos on Tree implementation using Python.
ruclips.net/video/-xJvpnenx6Y/видео.html
ruclips.net/video/3ekQpwvgTR8/видео.html
ruclips.net/video/z0Ho8nMNlAM/видео.html
ruclips.net/video/GetFKtW_byE/видео.html
ruclips.net/video/oEbkT4qSibQ/видео.html
ruclips.net/video/EeCFKDXBUFo/видео.html
@@codingcart i'm currently a begginner learning python so i'll definitely be watching more of your videos as i learn more and do more problems! thanks!
Bhai u are the best
Thank u very much
Thankyou
Welcome
Thank you so much sir most awaited problem :)
Most welcome
Nice explanation 👌
Thank you 🙂
why flag are used i cant understand
You can check the comment I have pinned..
U r simply great... explaining the program clearly in the way which beginners can understood easily...tq so much
Waiting for this ❤️😍
enjoy and keep learning :)
you haven't done any checks for the constraints defined in the problem
what is lp = -1 ........can u explain here?
Hi Sumit,
Initially I have declared lp for assigning the latest picked value but this was taken care by "latest" variable in while loop so it was unused.
Hope this helps😊
Yupp.....i realised that
Btw thanku
hloo as the list contains the number of elements entered by the user ie" n ' but you didnt took any loop for that why?
Coz here we are taking the input as a string and then mapping it to int
3:54 But you can use 4, 4, 3, 3, 2, 1 ?
Why did you use latest value
When every value piles up when it is less than csv and then latest value would surely less than csv . But when i did the program without latest but it didn't get the answer.u could have explained it moee
i am getting this error for this program
Traceback (most recent call last):
File "Solution.py", line 7, in
l=list(map(int,input().split()))
ValueError: invalid literal for int() with base 10: '100{-truncated-
Sir, can you please make a videos on classes module from hackerrank please sir. :)
stay tuned you will be notified.