Next privilege 250 Rep.
View close votes
Next badge 0/1
~27k people reached
- 0 posts edited
- 0 helpful flags
- 8 votes cast
How can “hash functions” be used to implement hash maps at all?
Try (en.algoritmy.net/article/50101/Hash-table), there are several approaches discussed, including your proposed array based storage (which is not hash table)
How do I learn algorithms and data structures?
You may also try my project, which describes popular algorithms and data structures more straightforwardly than wikipedia and contains souce codes almost for every article (structure, approach, algorithm)... en.algoritmy.net
How many tiers should my models have in a DB driven web app?
The view layer is for representation. For example rendering HTML or destop view components. DTO is just transferring data to another application/application layer. View layer cannot do transporting, because it can be provided even by another application, or there might be more view layers - one for thin client, one for thick, one for web services... So the service must do it (or every view technology, but this violates DRY principle (do not repeat yourself))