Arrays & Strings Flashcards
1
Q
Hash Tables
A
A hash table is a data structure that maps keys to values for highly efficient lookup.
2
Q
ArrayList & Resizable Arrays
A
The array or list will grow as you append items. In other languages, like Java, arrays are fixed length. The size is defined when you create the array.
3
Q
StringBuilder
A
StringBuilder simply creates a resizable array of all the strings, copying them back to a string only when necessary.
4
Q
Good exercise
A
StringBuilder, HashTable & ArrayList