LeetCode 232 - Implement Queue using Stacks - Explanation and Java Solution

preview_player
Показать описание
Title was wrong, my bad!
LeetCode Easy Java solution from Chaz Winter. In this Data Structures problem, we must attempt to implement the functionality of a Queue using two Stacks.
Рекомендации по теме
Комментарии
Автор

Wow, long time to post! Good to see you back making videos.

hildashaw
Автор

Using the peek method within the pop method was clever

darrellrussell