The CoderQueue Reconstruction by HeightSuppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height…May 25, 2020May 25, 2020
The CoderCoin Toss Simulation.Assume you have access to a function toss_biased() which returns 0 or 1 with a probability that's not 50-50 (but also not 0-100 or 100-0)…May 25, 2020May 25, 2020
The CoderInterview Formulae Series.In this series, I will solve interview problems asked by FAANG companies. We will dive deep into a problem and try to solve multiple…May 24, 2020May 24, 2020