Tag: algorithms
Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a binary search tree root and an integer val, determine whether val is in the tree. Constraints n ≤ …
You are given two binary search trees a and b and an integer target. Return whether there’s a number in a and a number in b such that their …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given two sorted list, if we want to merge it, we can do this optimally using two pointers in O(N+M) …
Teaching Kids Programming: Videos on Data Structures and Algorithms Yesterday, we talked about the Breadth First Search Algorithm. We are solving the same Jump Game problem today by using …