Tag: python
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a Binary Tree, we can count the number of nodes using either Depth First Search (DFS Algorithm) and Breadth …
Given a binary tree root, return the maximum width of any level in the tree. The width of a level is the number of nodes that can fit between …
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 Yesterday we talked about summing up the first N odd numbers, we know that the equation is N*N. Today, let’s …
You are given a list of integers nums, and want to make the values equal. Consider an operation where you pick an integer in the list and increment every …