Reverse a StringRecursionReverse StringProblem 🤔 Write a function that reverses a string. The input string is given as an array of…Assaf ElovicDecember 05, 2020 9 min
Construct tree from inorder and preorderBinary TreesConstruct Tree from Inorder and Preorder TraversalChallenge 🤔 Given preorder and inorder traversal of a tree, construct the binary tree. Note You may…Assaf ElovicDecember 05, 2020 8 min
Postorder TraversalBinary TreesPostorder TraversalProblem 🤔 The great thing about all of these traversals are that they are all relative to the root…Assaf ElovicDecember 05, 2020 8 min
Preorder TraversalBinary TreesPreorder TraversalProblem 🤔 The great thing about all of these traversals are that they are all relative to the root…Assaf ElovicDecember 05, 2020 9 min
Stack of PlatesStacks and QueuesStack of PlatesProblem 🤔 Imagine a literal stack of plates. If the stack gets too high, it'll fall! So when stacks…Assaf ElovicJanuary 22, 2020 15 min
Single Number with Hash TablesHash TablesSingle NumberProblem 🤔 Given a non-empty array of integers nums, every element appears twice except for one…Assaf ElovicMay 15, 2019 6 min