dsa prefi

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

34 Terms

1
New cards

Unordered Set

Type of set implemented using a hash table

2
New cards

Vertices

Represent objects in the graph data structure

3
New cards

Load Factor

Factor that measures how full a hash table is

4
New cards

Map

Data structure that stores elements as key-value pairs

5
New cards

Ordered Set

Type of set implemented using a binary search tree

6
New cards

Graph Data Structure

Collection of interconnected nodes

7
New cards

Directed Graph

Graph where each edge has a direction

8
New cards

Unweighted Graph

Graph in which all edges have equal weight

9
New cards

Hash Funcion

Mathematical function that produces a fixed-size output

10
New cards

Hashing

Process of converting a key into another value

11
New cards

Edges

Represent connection between graph objects

12
New cards

containsKey

Operation that checks if key exists in hash table

13
New cards

Tree Map

Map that stores elements in sorted order

14
New cards

Set

Data structure that stores unique elements

15
New cards

Chaining

Technique where multiple keys share one bucket using linked list

16
New cards

Tree-based Set

Set represented as binary search tree

17
New cards

Linked List Map

Structure to process configuration keys in order

18
New cards

Choosing a prime number table size

Minimizing clustering in division-based hash

19
New cards

Load factor exceeded threshold

Retrieval slows after many inserts

20
New cards

Undirected Graph

Graph showing mutual friendships

21
New cards

Hashmap

Best structure for frequently changing IDs

22
New cards

Linear Probing

Open addressing method for next available index

23
New cards

Queue becomes empty

BFS traversal visits all vertices when

24
New cards

Chaining

Collision-handling using linked list

25
New cards

Set

Track unique visitors

26
New cards

Collision

Different keys produce same index

27
New cards

Cyclic Graph

Road network with loops

28
New cards

Bipartite Graph

Students connected to courses

29
New cards

Weighted Graph

Calculate least costly route

30
New cards

Perform BFS across each disconnected component

Identify isolated users in graph

31
New cards

Use a prime-numbered table size

Avoid clustering in hashing

32
New cards

Load factor exceeds 0.85

Rehash the table to a larger size

33
New cards

Run BFS on each disconnected component

BFS visits only some nodes

34
New cards

Restore efficiency when collisions increase

Rehash the table to a larger size