3 ms·
Mooooo..... :) I usually visualize the data structure that exists, or that I want, and work "backwards" from there. But whichever direction you use, always alw
by aristus 19y ago
Mooooo..... :)
I usually visualize the data structure that exists, or that I want, and work "backwards" from there. But whichever direction you use, always always remember that the idea is to make the design simpler and more clear.
- boucher 19y agoWell, no, not always, always. Use the data structure that makes the design more efficient. Clarity might be nice, but an O(n) solution is not acceptable when a reasonable O(log n) or O(1) solution exists.