2024's blog

By 2024, 6 weeks ago, In English

hi friends

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

no one help me

  • »
    »
    6 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    what you are trying to do with deque can you please explain?

    • »
      »
      »
      6 weeks ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      please see the Editorial first part.

    • »
      »
      »
      6 weeks ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      you are thinking of binary search + queue/deque? coz i can see that you can use queue to form that check function for binary search on answer. Here is the code link : 192472306