1
vote
Accepted
Falling to put hashes in every line in mario.c
Here is a pseudocode for this program:
For 0 times print spaces
For 1 time print newline
For Height + 1 times print hash
For 0 times print spaces: for (spaces = 0; spaces > Height; spaces--). ...
1
vote
pset1 not printing hashes for mario
Please try to understand the pset questions, once you do take small steps and write down problem requirements in word and then transform those into the code exactly as per the specifications. Follow ...
1
vote
Hash tables running time
Let's assume at first that we want to store all the users in a database. In the first case we use the first letter of their name as the index value, and we link the user behind the previous one, if ...
1
vote
Hash tables running time
Your conclusion of "But this is not true. Right? Because if each element is inserted at one index in the hash table then it is as good as my linked list. Right?" is incorrect. If you have what is ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hashes × 9pset1 × 7
mario × 7
spaces × 3
mario.less × 2
cs50-ide × 1
hash-table × 1
for-loop × 1
pyramid × 1
loops × 1
while-loop × 1