Part 5: Common Coding Interview Problems

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

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:51 AM on 4/10/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

30 Terms

1
New cards

In a _____ problem, you usually print numbers in a range, but for certain multiples you print special words instead.

FizzBuzz

2
New cards

To _____ a string means to return the characters in the opposite order.

reverse

3
New cards

A(n) _____ check is used to see whether a word or phrase reads the same forward and backward.

palindrome

4
New cards

To _____ vowels in a string means to find how many letters are vowels.

count

5
New cards

To _____ characters in a string means to find how many total letters, symbols, or spaces it contains.

count

6
New cards

To _____ words in a string means to find how many separate words appear in the text.

count

7
New cards

To find the _____ in a(n) _____ means to return the largest value it contains.

max, array

8
New cards

To find the _____ in a(n) _____ means to return the smallest value it contains.

min, array

9
New cards

To _____ duplicates from a list means to return only the unique values.

remove

10
New cards

A(n) _____ count problem keeps track of how many times each character or value appears.

frequency

11
New cards

In the _____ _____ problem, you try to find two numbers that add up to a target value.

Two Sum

12
New cards

A(n) _____ parentheses problem checks whether opening and closing brackets are matched in the correct order.

valid

13
New cards

To _____ two sorted arrays means to combine them into one correctly sorted array.

merge

14
New cards

A(n) _____ search is used to quickly find a value in a sorted array by repeatedly cutting the search space in half.

binary

15
New cards

The first non

repeating _____ in a string is the first one that appears only once.

16
New cards

A(n) _____ check is used to see whether two words or strings contain the same letters in a different order.

anagram

17
New cards

To _____ a(n) _____ means to split it into smaller groups of a chosen size.

chunk, array

18
New cards

To _____ a nested array means to turn it into a single

level array.

19
New cards

To _____ duplicates means to find which values appear more than once.

find

20
New cards

To group array items by a(n) _____ means to organize them based on a shared field, key, or attribute.

property

21
New cards

To _____ a linked list means to change the direction of its nodes so the last node becomes the first.

reverse

22
New cards

A(n) _____ traversal means visiting all the nodes in a tree in a specific order.

tree

23
New cards

_____ stands for Breadth

First Search, which visits graph nodes level by level.

24
New cards

_____ stands for Depth

First Search, which explores one path as far as possible before backing up.

25
New cards

A(n) _____ recursion problem is a basic problem where a function solves a smaller version of itself until it reaches a stopping point.

simple

26
New cards

A(n) _____ _____ problem uses a moving range of values to solve array or string problems more efficiently.

sliding window

27
New cards

A(n) _____ map problem usually uses key

value pairs to store and look up data quickly.

28
New cards

A(n) _____ problem often involves Last In, First Out behavior, where the most recent item added is the first removed.

stack

29
New cards

A(n) _____ problem often involves First In, First Out behavior, where the first item added is the first removed.

queue

30
New cards

A(n) _____ dynamic programming problem like climbing stairs is solved by reusing answers from smaller subproblems instead of solving them again and again.

simple