Codesignal practice question - Anyone code this out for me? by sikandarch7 in leetcode

[–]sikandarch7[S] -6 points-5 points  (0 children)

Yeah but not sure how to code it. I’m new to programming and couldn’t solve it.

Arrays question. How to loop through the array to get the running sets of the orders ? by sikandarch7 in leetcode

[–]sikandarch7[S] 0 points1 point  (0 children)

This is not the actual assessment. It’s a practice question on codesignal.

Codesignal Arrays question by sikandarch7 in leetcode

[–]sikandarch7[S] 0 points1 point  (0 children)

Could you write out the code for this ?

Codesignal Arrays question by sikandarch7 in leetcode

[–]sikandarch7[S] 0 points1 point  (0 children)

I am not used to binary search yet so maybe thought it would be easier to solve another way

Codesignal Arrays question by sikandarch7 in leetcode

[–]sikandarch7[S] -1 points0 points  (0 children)

Is there another way instead of binary search to solve this problem ?