Milestone 1
Congrats on completing the first milestone of your coding journey! You have now learned the stack and queue data structure. Here are a few resources to solidify your learning and practice some easy interview problems.
Practice Problems
Leetcode is a great platform to practice your data structues and algorithms skills. Here a few problems to get started with leetcode and practise some problems on stack and queue data structure. Dont forget to click on the checkbox after completing a problem Create a leetcode account and try to solve the problems below.
20. Valid Parentheses
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
206. Reverse Linked List
Given the head of a singly linked list, reverse the list, and return the reversed list.
225. Implement Stack using Queues
Implement a last in first out (LIFO) stack using only two queues. The implemented stack should support all the functions of a normal stack.
232. Implement Queue using Stacks
Implement a first in first out (FIFO) queue using only two stacks. The implemented queue should support all the functions of a normal queue.