Tag: algorithms
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given an array of positive integers nums. You have to check if it is possible to select two …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a string s, return the length of the longest substring between two equal characters, excluding the two characters. If …
Teaching Kids Programming: Videos on Data Structures and Algorithms The Birthday Candles Problem If a person blows 1 candle at Age 1, 2 candles at Age 2, 3 candles …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a binary tree where node values are digits from 1 to 9. A path in the binary tree is …
Given a integer n, find all the sum of the number of the digits up to n, for example, given n=5, we return 5, because 1,2,3,4,5 are all 1 …