Please read the new rule regarding the restriction on the use of AI tools. ×

Binary Search using own array elements.

Revision en1, by GladiatorAQUIB, 2022-11-10 21:55:25

Whenever you want to maximize or minimize something in an array, by taking the values of a range from the elements of the same array, then you can do a binary search by taking the minimum and maximum of the elements of that array. Problem Link:- https://codeforces.me/contest/1623/problem/C

Tags binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English GladiatorAQUIB 2022-11-10 21:55:25 331 Please do check it out.... (published)