Tag: math
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 …
Teaching Kids Programming: Videos on Data Structures and Algorithms The Sum of First N Odd Numbers goes like this 1, 1+3=4, 1+3+5=9, 1+3+5+7=16 … As we can guess the …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a list of integers prices representing prices of cars for sale, and a budget k, return the maximum number …
Given a two-dimensional integer list intervals of the form representing intervals (inclusive), return their intersection, that is, the interval that lies within all of the given intervals. You can …