0

Is there any practical example or demonstration for the use of lists,sets and hashes in our dailife

9th Jun 2017, 8:17 AM
Maddula Venkata Krishna Sai Ram
Maddula Venkata Krishna Sai Ram - avatar
3 Answers
+ 1
Websites you register for most likely hash your password for security. Demonstration: - User visits site - User registers with password "123" - Website hashes it - Attacker somehow manages to view the database rows - Attacker will see your password as it hashed and he/she won't know what it actually is.
12th Jun 2017, 4:57 AM
Ajay Gonzalez
Ajay Gonzalez - avatar
0
thanks a lot for replying to my question,ur answer is very helpful to me in understanding the usage of learning them and their importance
15th Jun 2017, 10:59 AM
Maddula Venkata Krishna Sai Ram
Maddula Venkata Krishna Sai Ram - avatar
0
Also don't forget that the "normal" arrays do have a fixed length that is specified by you when you initialize said array. That's a huge problem when you are dealing with data that you can't just figure out how much space it will need to be stored. With an array list you can bypass this problem as it's dynamic.
25th Jun 2017, 5:47 PM
André Da Baws
André Da Baws - avatar