1636. Sort Array by Increasing Frequency | Sorting | Heaps | Leetcode Daily Challenge | DSA | Hindi

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 24

  • @shashwat_tiwari_st
    @shashwat_tiwari_st  3 месяца назад +2

    were you able to optimise the sorting on your own?
    Like target for this video is 100. Please do like the video if you have understood the explanation😊
    Custom Sorting: ruclips.net/video/quegYlReztM/видео.html

    • @RohitKumar-dz8dh
      @RohitKumar-dz8dh 3 месяца назад

      Not less than nlogn. Bhaiya hum direct hashmap pe hi key value ka custom sort kq nahi kar pate hai? Aur bhiya agar thodi time mile to Java stream api ka tutorial bana do na please, interviews me mostly stream api se ko use karne k liye kha jata hai par mai nahi kar pata , ye map reduce filter ko hum kab kha kese use karte hai mujhe samjh hi nahi aya abhi tak .

    • @sonalpriya1742
      @sonalpriya1742 3 месяца назад

      @@RohitKumar-dz8dhyes Stream API please. +1

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  3 месяца назад +1

      @@RohitKumar-dz8dh ok java streams and lambda.. bnate hai iss pr.

    • @RohitKumar-dz8dh
      @RohitKumar-dz8dh 3 месяца назад

      @@shashwat_tiwari_st Thanks 😊

    • @tejas2636
      @tejas2636 3 месяца назад

      ​@@shashwat_tiwari_stYes Sir, Stream API and Medium to Hard level Dynamic programming 😇

  • @PiyushSharma-we8yd
    @PiyushSharma-we8yd 3 месяца назад +6

    The clarity of explanation is no less than a premium paid content.

  • @courtneyadjoa246
    @courtneyadjoa246 3 месяца назад

    Man, you are super genius !
    The ease at which you explain the problem statement and approach the solution is simply mindblowing. 💓
    Have listened to multiple RUclipsrs, but you simply stand out from the entire crowd.

  • @Sparkling_jelly
    @Sparkling_jelly 3 месяца назад

    As someone who is trying to be consistent again,Thankyouu ❤️

  • @pmshowbynaman
    @pmshowbynaman 3 месяца назад +1

    In Cpp. we need to use only a custom comparator. and then the code will be efficient. Here it's the code for cpp: "vector frequencySort(vector& nums) {
    unordered_mapm;
    for(int i = 0; i b;
    else return m[a] < m[b];
    } );
    return nums;

    }"

  • @Coder__881
    @Coder__881 3 месяца назад +1

    Thnx ❤❤

  • @RohitKumar-dz8dh
    @RohitKumar-dz8dh 3 месяца назад +1

    Thanks 😊

  • @sonalpriya1742
    @sonalpriya1742 3 месяца назад +1

    Thanks!

  • @sonalpriya1742
    @sonalpriya1742 3 месяца назад

    Thanks

  • @kommuchakri3152
    @kommuchakri3152 3 месяца назад

    Very inspiring sir❤

  • @CARV-BUZZ
    @CARV-BUZZ 3 месяца назад

    Thank you! True Gem😀

  • @DarkDragon-bz6qp
    @DarkDragon-bz6qp 3 месяца назад

    Please make a video on stream api and lambda functions

  • @priyangsumondal-zn4yi
    @priyangsumondal-zn4yi 3 месяца назад

    thanks💌💌💌

  • @agambedi4142
    @agambedi4142 3 месяца назад

    where is the comparator notes sir?

  • @dilkashejaz9072
    @dilkashejaz9072 3 месяца назад

    Comparator video link ??