My 3rd Problem for HackerRank // Towers | Chase The Red
You're given infinitely many bricks of at most 15 different heights (other dimensions are not relevant here). You're also given a big integer
Here is the full problem statement.
Solution
In the editorial I omit the fact that we have to count the time needed to build all towers - we will count here just the number of different towers and to get the result, you have to multiply this number by 2.
Read full article from My 3rd Problem for HackerRank // Towers | Chase The Red
No comments:
Post a Comment