Leetcode - Palindrome number explained in Javascript & Java | Coding interview question

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

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

  • @maw_prgrmmng
    @maw_prgrmmng 2 года назад

    what is the use of reversed * 10 ?

    • @ShawnCTech
      @ShawnCTech  2 года назад

      Is to move the current "reversed" number one more digit to the left so we can add another digit at the end.
      For example we make 1 become 10 so that we can add 2 and makes it become 12.
      Checkout 01:56

    • @maw_prgrmmng
      @maw_prgrmmng 2 года назад

      @@ShawnCTech Yes thanks, I tried to write it down and execute step by step and I got it.

  • @happycornerjune
    @happycornerjune 3 года назад

    มาชมด้วยคะ

  • @mscofield9925
    @mscofield9925 3 года назад

    Thanks

  • @findingyou6905
    @findingyou6905 3 года назад

    YOUR LINKEDIN PROFILE