white-board coding. I think I could solve in python but not yet C. Not enough mileage.
Q: given a string of characters, find the longest “run” of any repeating character.
Q: given an array of integers, and a target, determine if there’s any pair that add up to the target. Return true/false.
Q: maximum profit problem. Given a time series of historical spot FX rates, find the maximum possible trading profit by exactly one buy one sell.
A: I have seen this many times. First write pseudo-code.