## Lily's Homework

August 06, 2021Whenever George asks Lily to hang out, she’s busy doing homework. George wants to help her finish it faster, but he’s in over his head! Can…

## Lily's Homework

August 06, 2021Whenever George asks Lily to hang out, she’s busy doing homework. George wants to help her finish it faster, but he’s in over his head! Can…

## Correctness and the Loop Invariant

August 06, 2021In the previous challenge, you wrote code to perform an Insertion Sort on an unsorted array. But how would you prove that the code is…

## Find the Median

August 06, 2021Problem description The median of a list of numbers is essentially its middle element after sorting. The same number of elements occur…

## Closest Number

August 06, 2021Problem description You are given 3 numbers a, b and x. You need to output the multiple of x which is closest to pow(a,b). If more than one…

## Counting Sort 1

August 06, 2021Problem description Given a list of integers, count and return the number of times each value appears as an array of integers. Input format…

## Fraudulent Activity Notifications

August 06, 2021Given problem statment HackerLand National Bank has a simple policy for warning clients about possible fraudulent account activity. If the…

## Insertion Sort - Part 2

August 06, 2021Given problem statment In Insertion Sort Part 1, you inserted one element into an array at its correct sorted position. Using the same…

## Insertion Sort - Part 1

August 06, 2021Given problem statment Sorting One common task for computers is to sort data. For example, people might want to see all their files on a…