Return a list of swaps that would turn the hand into a winning hand.
Unlock detailed company stats for this questionUpgrade
Follow-up 2 (hard): if a single swap is not sufficient to win, return a list of swaps that would make it a winning hand. We ran out of time, so I only explained a brute-force approach; the interviewer said a more optimized one existed.
Community answers
No answers contributed by the community yet.


