Conference Schedule

A schedule has just been released for an upcoming tech conference. The schedule provides the start and end times of each of…

Maximizing the Final Element

Given an array of integers, perform certain operations in order to satisfy some constraints. The constraints are as follows: The first array…

Efficient Janitor

The janitor of a high school is extremely efficient. By the end of each day, all of the school’s waste is in…

Growth in 2 Dimensions

Start with an infinite two dimensional grid filled with zeros, indexed from (1,1) at the bottom left corner with coordinates increasing toward…

Maximum Cost of Laptop Count

A company manufactures a fixed number of laptops every day. However, if some defect is encountered during the testing of a laptop,…

Password Decryption

In a computer security course, you just learned about password decryption. Your fellow student has created their own password encryption method, and…

Balanced System Files Partition

The directory structure of a system disk partition is represented as a tree. Its n directories are numbered from 0 to n-1, where the root directory has the number 0. The…