Sort by

recency

|

45 Discussions

|

  • + 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). Salah Al Din Metro Station Dubai

  • + 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!