Arrays & Strings Flashcards

1
Q

Hash Tables

A

A hash table is a data structure that maps keys to values for highly efficient lookup.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

StringBuilder

A

StringBuilder simply creates a resizable array of all the strings, copying them back to a string only when necessary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Good exercise

A

StringBuilder, HashTable & ArrayList

How well did you know this?
1
Not at all
2
3
4
5
Perfectly