As part of our back-to-basic series, Liz uses a queue data structure to reverse a word in Python.
The Challenge:
Given a word, write a function that returns the word reversed.
Video Overview:
0:44 The problem
2:22 Coding a solution
8:44 Implementing a stack with queues
26:42 Recap
Please subscribe to our channel!
If you have any recommendations for videos you’d like to see, please comment below.
Additional Resources:
Practice hundreds of real coding challenges at https://coderbyte.com/
Need more practice? Check out our channel for more videos on preparing for a coding interview / coderbytedevelopers