Array Second Largest Element in Python || Lesson 19 || Python Placements || Learning Monkey ||

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 16

  • @btsworld5984
    @btsworld5984 3 หลายเดือนก่อน

    I have doubt sir,
    After converting list to set ...its displaying ordered unique elements ..then why to again sort them

  • @btsworld5984
    @btsworld5984 3 หลายเดือนก่อน

    Really helpful tricks

  • @PrabaKaranB-
    @PrabaKaranB- 5 หลายเดือนก่อน

    🎉❤ valuable sir

  • @KishorKumar-re2rs
    @KishorKumar-re2rs 2 ปีที่แล้ว

    Please make a video on the same concept using map function

  • @vamshinayak7162
    @vamshinayak7162 4 หลายเดือนก่อน

    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

    • @LearningMonkey
      @LearningMonkey  4 หลายเดือนก่อน

      Thank you for sharing
      It may help some one

  • @JayanthJuturi
    @JayanthJuturi 7 หลายเดือนก่อน

    this question is asked in wipro python sr developer interveiw
    thanks

  • @AbinBabu5
    @AbinBabu5 2 ปีที่แล้ว

    Helpful. Thanks!

  • @TradersHub21
    @TradersHub21 3 ปีที่แล้ว

    Thanks a lot!

  • @reset8412
    @reset8412 ปีที่แล้ว

    love u my man

  • @surisudhakar7207
    @surisudhakar7207 ปีที่แล้ว +1

    these code is not working