Lab Practice Problems

Lab Practice Problems #

Quiz1 Syllabus [Lab 2] #

Pattern Programs

Theatre Square

Number of 1 Bits

Reverse Bits

Powers of Three

Arrays [Lab 3] #

1D Arrays #

Move Zeroes

Maximum Subarray

2D Arrays #

Hourglass

Search in 2D Matrix

Richest Customer Wealth

Frequency Arrays #

Count elements with maximum Frequency

Valid Anagram

Strings [Lab 4] #

Find the Index of the First Occurrence in a String

Valid Palindrome

Palindrome Reorder

String Matching

n^2 Sorting [Lab 5] #

Sort Colors

Selection Sort

Bubble Sort

Insertion Sort Part 1

Insertion Sort Part 2