## Sudoku Validator | Python w/ Tests

Hello, it has been a minute but I finally have a tutorial for you all: Sudoku Validator.  I first saw this question on Pramp.com (and yes I bombed it). I finally came up with a great solution that I feel is teachable enough. The question goes, “given a 9×9 grid, verify whether it is a…

## Print Spiral Matrix Python

Hello Everyone, today’s algorithm is the unintuitive “Print Spiral Matrix”. My friend got asked this question from Squarespace two years ago and I finally decided to tackle it. I failed, but shout out to the internet for eventually giving me the answer. Personally, I’d rate this a LeetCode medium-hard. It’s also a question on Pramp….

## Rotate a Matrix: With New Array (Python)

Hello everyone. I have another algorithm for you all today. One I’ve been meaning to tackle for a while now. La rotation d’une matrice…Rotation of a Matrix! I have two versions for you all, both in Python. This post makes a copy of the original matrix and adds the correct values to it, the second…

## Number Of Islands Tutorial (Python)

Hey everyone, glad to finally get this tutorial out to you all. I know I’ve been stating this for months now but I finally re-visited the question the other day and it was a lot less intimidating than when I had first seen the algorithm last year. I hope to simplify it for you all….

## Interview Cake Review

Hey you all, I’ve been meaning to write a review about Interview Cake. Just to leave my feedback. I’ve solved/read through all of the 46 questions. There does not appear to be any unsponsored reviews from what I’ve researched, so here goes. Disclaimer: I am in no way being paid for this review and I…

## Sort Stack Python~ Cracking the Code

Hello, Everyone. I solved an algorithm in Cracking the Coding Interview a few days ago and thought i’d share my code since I could only find one partial Python implementation online. The first video below shows a visualization of what is expected. The second video is of me explaining the concept and implementing the code….

## Busiest Time in the Mall – Python

My 3rd question from Pramp. The Westfield Mall management is trying to figure out what the busiest moment at the mall was last year. You’re given data extracted from the mall’s door detectors. Each data point is represented as an integer array whose size is 3. The values at indices 0, 1 and 2 are…

## Coding Challenge (Round 3)

Dang, so it’s been a month (I think) from my last blog post, but I reached my goal of solving 100+ algorithms a little over a week ago. If you count the mock interviews it would be 110. Honestly, this week I’ve been slacking. I think i’m burnt out.  Here is the YouTube video for…

## Sentence Reverse – Python

This was the question I received in my first ever Pramp interview. I failed terribly at it, but now it seems so easy. #progress Input_array = [ ‘p’, ‘e’, ‘r’, ‘f’, ‘e’, ‘c’, ‘t’, ‘ ‘, ‘m’, ‘a’, ‘k’, ‘e’, ‘s’, ‘ ‘, ‘p’, ‘r’, ‘a’, ‘c’, ‘t’, ‘i’, ‘c’, ‘e’ ] Output_array = [ ‘p’,…

## Compress a string (Python)

Hello everyone! Today I will be breaking down the algorithm to compress a string. For example Given: “aaabccccd” Should return: “a3b1c4d1” First, we define a function called “compress” with one argument, “string”. Next, we set a new variable, “res”, to an empty string so that we can add the final result to it. We set…

## Coding Challenge (Round 1)

It’s been a while since I posted. I was obtaining a professional license for 6 weeks then vacation, but now i’m back. Last time I posted about solving 100 algorithms, currently I am at 64. I’m writing this post on Round 2 but it’s about Round 1. I solved my first 40 algorithms in about…

## My journey into Algorithms & Data Structures

Sorry about the long post. So I finally finished JavaScript on Codecademy almost a few days ago. Ugh, literally it was one of the most draining tasks I’ve ever undertaken. Half way through the course I felt like I was wasting my time. It was so boring. I don’t know what I was thinking by…