Flood Fill Algorithm | Python | DFS #QuarantineAndCode

Hello Everyone, I’d like to start a new series called “Quarantine and Code”. I saw the hashtag on twitter and it inspired me to do some tutorials while spending most of my time indoors. The algorithm I’ll be solving today is pretty famous. It’s a graph algorithm called Flood Fill and it’s very similar to…

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….

Climbing Stairs | Python | Leetcode

  Hey everyone. I’d like to share a pretty popular Dynamic Programming algorithm I came across recently solving LeetCode Explore problems. It’s super cool. The algorithm asks us, given n (which is the staircase number/step), how many ways can we reach it taking only one or two steps at a time? Here is the video…

My 1st Month as an Intern

Hey you all, good news! I got an apprenticeship. A software engineering apprenticeship. Essentially, I get paid to learn 40 hours a week and be mentored. My apprenticeship is for several months too. So far it has been an absolutely amazing experience. All of my co-workers are so friendly and helpful. In the last month…

Dot File Basics: Aliases & Functions

*changes should be made in .bashrc file or .aliases file pulled into .bashrc.     Hello Everyone! Today I am bringing you some more super cool command line knowledge to help you work more efficiently in your bash terminal: Dot Files. It’s crazy how I have never used them before. I am learning so many…

Command Line Basics | Mac OS & Linux

Hello everyone! Today I’d like to share some of my favorite and most used bash commands. You will be a novice ninja once you learn these. Trust. You can watch the video or scroll down below   TERMINAL  COMMANDS   pwd Our first terminal command is “pwd”. Caps are irrelevant. What “pwd” does is tell…

Rotate a Matrix In-Place (Python)

  Hello everyone, I finally have version 2 of our Rotation d’une Matrice (Rotation of a Matrix) and it is in-place. Yep, so no extra space. This code and explanation is A Lot shorter than version 1.  Version 2: Full Code First we define a function, rotate, with an argument, matrix. In our sample call statement,…

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….

1 year Job Hunt Update: QA? A+ cert? LeetCode Explore? A break.

Disclaimer: This post is extremely long. It’s a four month update. Also, I know I’m probably oversharing my life but this is “ColorfulCode’s Journey”. Remember that. Disclaimer 2: I’m re-reading this post and it comes off a bit dark at times. I’m fine, just burnt out. *Hey you all, this post is literally almost 2…

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…