Show HN: Coding Interview Practice
A bit of a nitpick, but the stock trading question should have stated up front that short-selling was not allowed or that the purchase order must precede the sell order. (I suspect someone with some familiarity with trading would have asked these questions in an actual interview for clarification)Relying on a "hint" to figure out that you can only sell after you buy seems more like an additional constraint rather than a true hint.