Category: algorithms
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a string, determine if a permutation of the string could form a palindrome. Example 1: Input: “code” Output: false …
You are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes, where boxTypes = : numberOfBoxesi is the number of boxes …
You are given a two-dimensional list of integers matrix containing 1s and 0s. Return the number of elements in matrix such that: matrix = 1 matrix = 0 for …
Teaching Kids Programming: Videos on Data Structures and Algorithms You have some number of sticks with positive integer lengths. These lengths are given as an array sticks, where sticks …
Given strings a and b, and an integer k, return whether a can be converted to b by shifting some characters clockwise at most k times. For example, “c” …