2 - java data structures

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:05 AM on 3/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

data structure

considered a fundamental building block of all programs

2
New cards

API (Application Programming Interface)

provides built in support for these structures

3
New cards

linked list

hash map

stack

queue

set

types of data structures

4
New cards

linked list

basic structure where each node is linked to others

5
New cards

hash map (table/dictionary)

one of the most versatile structures, uses key value pairs to store data

6
New cards

stack: last in, first out

last item you put in is the first one out, eq. undo button

7
New cards

queue: first in, first out

works like a line at a grocery store, first person first served

8
New cards

set: no duplicates allowed

special structure that does not allow duplicates, if u add the same item twice it will ignore the second one

9
New cards

LocalDate

represents only a date (year, month, day)

10
New cards

LocalTime

represents only time (hour, min, second, nanosecond)

11
New cards

LocalDateTime

represents both date and time together

12
New cards

RegEx

is an API used to define patterns for searching or manipulating strings, commonly used for security

13
New cards

Pattern

Matcher

PatternSyntaxException

key classes in java.util.regex

14
New cards

pattern

defines the pattern used in a search

15
New cards

matcher

used to research for the defined pattern

16
New cards

PatternSyntaxEception

indicates a syntax error in the regex pattern

17
New cards

a-z

0-9

^

.

basic regex symbols

18
New cards

^

define the start of the string for pattern matching

19
New cards

.

represents any single character in the pattern