2285 Maximum Total Importance of Roads Leetcode| Leetcode Biweekly Contest 79

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

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

  • @maralazizi
    @maralazizi 18 วันที่ผ่านมา

    Thank you so much for explanation. much appreciated!

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

    well explained
    even noob me undersatood

  • @vani.sharmaa
    @vani.sharmaa 4 หลายเดือนก่อน

    thanks!

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

    Thanks! very good explanation !

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

    hey, correct me if i am wrong , i don;t think so there is any use of lambda function as the condition you mentioned inside it is the default way in which pairs of vectors are sorted (a.first>b.first). So,simply if we jost sort them in descending order, that will suffice

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

      A normal sort function for descending order will definitely work.

  • @Sa-So
    @Sa-So 2 ปีที่แล้ว

    How many subs do you have ?