Master these 27 fundamental patterns and you'll recognize the approach for almost any coding interview problem.