Leetcode Weekly Contest 307 | Largest Palindromic Number | Medium | Explained

Sdílet
Vložit
  • čas přidán 20. 08. 2022
  • Hi Friends,
    In this video, I have explained the weekly contest problem.
    Please watch at 1.25x for better experience
    Problem Link :
    leetcode.com/contest/weekly-c...
    Solution :
    Do like and subscribe if you found it helpful

Komentáře • 1

  • @syedarfath9298
    @syedarfath9298 Před rokem +1

    Amazing implementation. I was able to come up the approach, wasn't able to come up with the implementation.
    For sorting in descending order use this
    int - reverse(num.begin(), num.end(), greater());
    sttring - reverse(num.begin(), num.end(). greater());