👋 Hello! I’m gathering feedback on SWE Prep. If you like to provide suggestions or feedback, let us know on this survey here! Question: Given a string…
Sameer Khoja
Lesson: Array Manipulation
Sameer Khoja
👋 Hello! I want to take a second and thank all of you for subscribing to SWE Prep! It has been so great making articles for you all - I hope they were…
Sameer Khoja
Question: Given a string containing just the characters ’(’, ’)’, ’’, ’’, ’[’ and ’]’, determine if the input string is valid. 
Sameer Khoja
Lessons learned: recursion
Sameer Khoja
Lessons Learned: While loops, logarithms
Sameer Khoja
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tur…
Sameer Khoja
Lesson Learned: Recursion
Sameer Khoja
Lessons learned: HashMaps, iterations
Sameer Khoja
Write an algorithm to remove every other node from a Circular LinkedList. This week’s solution is short and sweet, so I’ll just display the solution he…
Sameer Khoja
Question: Given an array arr that is a permutation of [0, 1, ..., arr.length - 1], we split the array into some number of "chunks" (partitions), and in…
Sameer Khoja
Lessons Learned: Strings, For Loops
Sameer Khoja