ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
I have doubt sir,After converting list to set ...its displaying ordered unique elements ..then why to again sort them
Really helpful tricks
Glad to hear that
🎉❤ valuable sir
Please make a video on the same concept using map function
try this approch def solve(self, A): Max = 0 for i in range(len(A)): if A[i] > Max : Max = A[i] Smax = -1 for i in range(len(A)): if A[i] != Max and A[i] > Smax: Smax = A[i] return Smax
Thank you for sharingIt may help some one
this question is asked in wipro python sr developer interveiwthanks
Helpful. Thanks!
Welcome
Thanks a lot!
Have a great learning
love u my man
these code is not working
Post the mistake u got
Yes
I have doubt sir,
After converting list to set ...its displaying ordered unique elements ..then why to again sort them
Really helpful tricks
Glad to hear that
🎉❤ valuable sir
Please make a video on the same concept using map function
try this approch
def solve(self, A):
Max = 0
for i in range(len(A)):
if A[i] > Max :
Max = A[i]
Smax = -1
for i in range(len(A)):
if A[i] != Max and A[i] > Smax:
Smax = A[i]
return Smax
Thank you for sharing
It may help some one
this question is asked in wipro python sr developer interveiw
thanks
Helpful. Thanks!
Welcome
Thanks a lot!
Have a great learning
love u my man
these code is not working
Post the mistake u got
Yes