Java Program to find second largest element from an array | Java Programming

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

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

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

    Thank 🙇

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

    what if the largest number is repeated twice???

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

    This approach is only for distinct element in the array

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

    what if arr={1 2 3 4 6 6} your logic will not work

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

    would this work for a random array set by the code?

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

    Your head is coming in the last line

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

    Your head is coming in the last line