Tag: math
Teaching Kids Programming: Videos on Data Structures and Algorithms A square triple (a,b,c) is a triple where a, b, and c are integers and a^2 + b^2 = c^2. …
Reverse bits of a given 32 bits unsigned integer. Note: Note that in some languages such as Java, there is no unsigned integer type. In this case, both input …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a list of integers nums, return whether you can split the list into 1 or more groups where: The …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a positive integer n, determine whether you can make n by summing up some non-negative multiple of 3 and …
In MATLAB, there is a handy function called reshape which can reshape an m x n matrix into a new one with a different size r x c keeping …