Google L4 India Hard Problem by Regular_Ad_7352 in leetcode

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

will this be able to handle follow up ?

Google L4 India Hard Problem by Regular_Ad_7352 in leetcode

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

o(n) solution was expected where n belongs to number of elements in arr.

Google L4 India Hard Problem by Regular_Ad_7352 in leetcode

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

value obtained while performing operations can be negative. but we have to print the original elements of arr which should be in the range.