Sound meter
This is a project that is ongoing in our school's electronic class. The electronic class isn't just any electronic class, but rather we...
LeetCode 30 day challenge #2
Question prompt: Happy Number Write an algorithm to determine if a number n is "happy". A happy number is a number defined by the...
LeetCode 30day coding challenge #1
Single Number Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm...
Thoughts and explanations on iterative and recursive binary search
Last time I said the next post would be about the binary search algorithm. Here it is. I will only include the iterative solution first...
Big O notation and more recursion
Today I looked up some information on the time complexity of a program, usually represented using the Big O notation. This shows how much...
Recursion and Iteration
Hey, it's me. For the second time. What better time there is to talk about some problems I have been working on? Recently I am writing...