Clarify input/output of functions • Any assumptions? (for possible simplification) • Any runtime requirements or scaling issues? • Pseudocode (especially for on-sites) • Start coding (don't sweat minor syntax issues)
step back. • Try some sample test cases • (if asked to try a specific one, you might have missed something). • Look for common pitfalls (floating point precision, string concatenation cost, off-by-one errors in indices)
to ask questions • Definitely have some ready, either personal or about the product / company • Be sure the end the interview by verbally thanking the person by name, this detail goes a long way