Reverse Integer - leetcode 7

preview_player
Показать описание
Today we will solve the "Reverse Integer" problem from #leetcode. We will walk through a simple and then the Mathematic solution in order to solve this Problem.

This question has been asked by Apple, Adobe, Google, Bloomberg, Microsoft, Facebook, Intel, and so many other companies.

Please check the channel page for more leetcode solution videos. Also don't forget to like, comment, and subscribe. Hope you enjoy the video!
and Thanks for watching 🙏

Chapters:
0:00 Intro and question
0:06 Examples
0:48 Simple solution
1:45 Optimized solution
3:23 Code Implementation
5:00 Time and Space Complexity
Рекомендации по теме
Комментарии
Автор

good explanation. simple and on point.

shripadkhandare
Автор

Hi, thanks for the video. Could you enlighten me more about the time and space complexity difference between two methods? That'd be great.

nickieferrante
Автор

at 3:08 result variable seen as 1*10 +32 but shouldn't it be 32*10+1. Is it a typo? or am i missing something here

cengizhanpe
join shbcf.ru