String to Integer (atoi) - Leetcode top interview question solution

preview_player
Показать описание
String to Integer (atoi) a top coding interview question from Leetcode easy list. Please subscribe to my channel and thank you so much for watching. Please provide feedback in comments below and let me know if I should any other topics as well

0:00 Introduction
0:51 Problem statement
6:40 Solution
17:42 Conclusion

Рекомендации по теме
Комментарии
Автор

Hello
Great explanation,

I was just confused with one thing, why can't we update result simultaneously and compare it with INT_MAX or INT_MIN.
Like instead of using a variable, is it possible to compare it in the first if condition itself?

gauravtrivedi
welcome to shbcf.ru