Sort by

recency

|

44 Discussions

|

  • + 0 comments

    Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Billboards Problem Solution

  • + 0 comments

    Here is Billboards problem solution - https://programs.programmingoneonone.com/2021/07/hackerrank-billboards-problem-solution.html

  • + 0 comments

    I'm having a hard time understanding the explanation , can you express it in details ? surah to get love back

  • + 0 comments

    Phew, so finally solved this after weeks. It basically comes down to idea of min_queue problem. i.e, you can look up minimum of 'M' consecutive terms as you move from left to right in an array in O(1).

    Two stacks!

  • + 1 comment

    simple dp passed all test cases https://wtools.io/paste-code/YQW