Facebook

Minimum Cost to Paint Houses with K Colors

A builder plans to construct N houses in a row, where each house can be painted in K different colors.…

4 months ago

Count Decoding Ways for Encoded Messages

Problem Statement (Asked By Facebook) Given the mapping a = 1, b = 2, ..., z = 26, and an…

6 months ago