Having a hard time understanding the concept of dictionaries

Put your programming skills to the test in these challenges.

Having a hard time understanding the concept of dictionaries

Post by ghostheadx2 on Wed Apr 29, 2015 2:29 pm
([msg=87860]see Having a hard time understanding the concept of dictionaries[/msg])

I think a dictionary is like a list, but is ordered by keys. A key is a piece of data that represents the place of the other piece of data. A dictionary is just a list of keys and key values (key values being the represented data).
ghostheadx2
Contributor
Contributor
 
Posts: 728
Joined: Wed Nov 19, 2014 1:19 am
Blog: View Blog (0)


Re: Having a hard time understanding the concept of dictionaries

Post by ghost107 on Thu Apr 30, 2015 12:52 am
([msg=87863]see Re: Having a hard time understanding the concept of dictionaries[/msg])

A dictionary is a Hash Table:
https://www.youtube.com/watch?v=h2d9b_nEzoA
User avatar
ghost107
Poster
Poster
 
Posts: 321
Joined: Wed Jul 02, 2008 7:57 am
Blog: View Blog (0)



Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests