Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

sandeepgogarla61's blog

By sandeepgogarla61, history, 9 months ago, In English

Hi guys!

Problem Link : 1923C - Найти B Submission : 248005674

My approach :

I have tried to calculate the minimum possible sum of subarray for every query range and compared it with actual sum of the subarray using prefix sum , My code passes sample test case but I'm unable to figure out why it is showing wrong answer for hidden testcases . Can anyone help me with this ?

Full text and comments »

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

By sandeepgogarla61, history, 2 years ago, In English

problem link : https://leetcode.com/problems/number-of-visible-people-in-a-queue/ approach for the above mentioned question when duplicates are allowed

eg test case : 11 6 7 5 11 11 o/p : 3 2 2 1 1 0

Full text and comments »

  • Vote: I like it
  • -11
  • Vote: I do not like it

By sandeepgogarla61, history, 3 years ago, In English
By sandeepgogarla61, history, 3 years ago, In English

What are some good problems involving xor techniques and concepts, on codeforces or any other site. difficulty range <=2300.

Thanks.

Full text and comments »

  • Vote: I like it
  • +9
  • Vote: I do not like it