You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- value is length of each distinct, compatability only distinct
- tuple sorted lists inplace insertion fb
- find highest value in list, if multiple instances, pick one from balanced random. no extra space fb
- two values summed to another in array, no extra space optional restriction fb
- atoi (tostring of int)
- N people in a party consisting of celebrities and normal people. All normal people know the celebrities but celebrities don't know anyone but themselves. Write code to find the celebrity.
- given an array of values, find a peak (defined as a value whose left right direct neighbours are equal or lower) in O(logn)