Leetcode - Peeking Iterator (Python)

preview_player
Показать описание
February 2021 Leetcode Challenge
Leetcode - Peeking Iterator #284
Difficulty: Medium
Рекомендации по теме
Комментарии
Автор

I hate that sometimes hints actually confuse you even more!
Thanks for the quick explanation Tim!

Автор

Great Explanation, Thank you so much 😀

Googleaccount-phmg
Автор

could you please first explain what your approach is and how you are going to solve it before coding it up
i got confused after watching half of the video

eyosiasbitsu
Автор

why did you use 'if self.peeked' at the end if you were using self.i.hasNext

lemannkirme
visit shbcf.ru