Write a program to calculate the number of days on which profit falls between the rangle l and r
Answers
Answered by
0
Answer:
yhtjfgvchvzh sthit reducibility
Answered by
0
Answer:
sort the array of profit.
Do a binary search to find L or greater than L,
and R and smaller than R.
find difference b/w index of L and R found element.
Similar questions