4 ms·
lol yeah having been through these loops and training to do these loops it really seems like most people say they want to see “thought process”, but what they’r
by hemloc_io 5y ago
lol yeah having been through these loops and training to do these loops it really seems like most people say they want to see “thought process”, but what they’re really looking for are the usual cues you see in all the prep info online.
E.g. ask some clarifying questions before coding, write or suggest a brute force, and then write an optimized algo.
- travisjungroth 5y agoI find writing and even sometimes describing the brute force to be hazardous. Seems better to wave in its general direction.
- est31 5y agoWithout clarifying questions, often you assume something about the problem that's not actually the case. And a brute force solution is often very useful to learn more about the problem domain. Personally I really like doing a bad solution before a better one. Especially in the setting where it's not completely whiteboard, so I have the ability to run and test my code, then having a brute force solution around to debug the problem is useful.