Data Structures and Algorithms

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/20

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.

21 Terms

1
New cards

Array

an object which contains elements of similar data type

2
New cards

Stack

a linear data structure that is used to store a collection of objects

3
New cards

Queue

a collection used to hold elements about to be processed and provides various operations like insertion, removal, etc.

4
New cards

First-In First-Out Principle

the first item added to the queue will be the first item removed

5
New cards

Last-In First Out Principle

the last item added to the stack will be the first item removed

6
New cards

Collection Interface

core member of the Java Collections Framework located in the java.util.package

7
New cards

Interface

abstract data types that represent collections

8
New cards

Implementations

reusable data structures

9
New cards

Algorithms

methods used to perform computations, such as sorting and searching on objects that implement collection interfaces

10
New cards

List

an interface that declares the behavior of a collection that stores a sequence of elements

11
New cards

ArrayList

dynamic, resizable arrays that are found in the java.util.package

12
New cards

LinkedList

a linear data structure where elements are not stored in continguous memory locations

13
New cards

Set

a collection that cannot contain duplicate items

14
New cards

Map

an interface that represents a collection of key-value pairs

15
New cards

HashSet

a class that implements the Set interface in which every item is unique

16
New cards

HashMap

a class that implements the Map interface in which every key is unique and maps to a specific value

17
New cards

Linear Search

simple search algorithm that checks for every element in the array until a target has been reached

18
New cards

Binary Search

highly efficient searching algorithm used if the array is sorted

19
New cards

Selection Sort

sorts an array by repeatedly finding the minimum element

20
New cards

Merge Sort

sorting algorithm that uses the divide-and-conquer approach

21
New cards

Bubble Sort

works by swapping the adjacent values if they are not ordered