Photo by Tianyi Ma on Unsplash

Hello again! I am back with another algorithm problem and solution. The first problem I wrote about was checking to see if an array contains duplicates. You can check it out here: Contains Duplicates. Just a reminder, I am solving the code using JavaScript.

This problem also comes from Leetcode’s Easy Collection of Top Interview Questions. So in Merge Sorted Array:

You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively.

Merge nums1 and nums2 into a single array sorted in…


Photo by Markus Spiske on Unsplash

Hello, hello! As I continue my job search, I am practicing my algorithm questions on Leetcode. So, I thought I would blog about some Leetcode problems as I solve them.

As a Bootcamp graduate, I did not get much practice in algorithms, so it has been a very fun and sometimes frustrating trial and error in recognizing patterns, optimizing my code to be faster (looking at you Big-O), learning how to break down a problem, and sometimes implementing neat math tricks to solve these algorithm problems. I have been practicing them using JavaScript.

As I’m relatively new to algorithm problems…


You’ve just finished up building your website, web application, frontend, etc and now you want to deploy it using Google’s Firebase. The below instructions are for GatsbyJS. If you are using Create React App, scroll to the bottom to see the differences.

Setting Up Firebase Account & Firebase Project

  1. If you don’t already, create an account on Firebase (if you have a Google account, then you can automatically sign in with it).

2. Then you will want to click Go To Console on the top right-hand side of the window

3. Click Add Project tile


As any other recent graduate of a coding bootcamp, I set to work on my personal portfolio website. Having just been taught React, I wanted to stick with building my website using the skills I had just learned. I had previously created an app using Create-React-App, but since my portfolio website strictly was content-based and I found that GatsbyJS was better for static websites (though it can do a lot more! Gatsby sites are still fully functioning React apps).

So while I was building my website, I wanted to employ a card design for my projects. Essentially each “card” would…


My first language was Ruby and when I learned Ruby on Rails, I was developing with SQLite3. However, when I went to begin deploying apps to Heroku, I quickly found out I would need to use PostgreSQL. For some reason, I struggled to find easy instructions for installing PostgreSQL for WSL2 users (I have a Mac as well and it was much easier). So I finally found a couple of various instructions and put together easy-to-understand instructions on how to install PostgreSQL on WSL2.

Remove Previous PostgreSQL packages

If you are using WSL2, most likely you are using Ubuntu, so begin by opening up…


Congrats on creating your web application and getting ready to deploy it! However, I bet you have come across a similar problem to many others:

Heroku requires you to use Postgres. You can find the reasoning here: https://devcenter.heroku.com/articles/sqlite3.

But you have built your whole app using SQLite. I have been there, and I wanted to relay a quick workaround so that you can get your app up and running on Heroku without needing to install PostgreSQL.

NOTE: this could possibly cause small bugs or performance as apps scale, but I have not encountered any major issues. If you plan to…


Photo by Vasily Koloda on Unsplash

Elated. Accomplished. Sad. Nervous. Eager.

I just passed my last project review at Flatiron School and what a series of emotions. I was so happy to hear those words, “Congrats Kunal, you passed your review and your graduating!” I felt proud of myself for undergoing this endeavor. I put in a lot of hard work and effort to get myself to this point where I can say I am a Full-Stack Web Developer.

So I feel accomplished at all the projects I have created and the knowledge I have gained throughout the last 6 months. But the end of this…


My fifth and final project for Flatiron School is a single-page application called The Sports Report. It is a web application that finds new articles for you about your favorite sports players and teams, all in one place. This project is meant to be a culmination of all the things I have learned over the past 5 months.

The project requirements were fairly open-ended. We had to use the create-react-app generator and have a Rails API backend. We needed to have some stateless components and make use of client-side routing. …


My fourth project for Flatiron School is a single-page application called StudyDecks. I am going to discuss what was required of this project, how the app works, and some challenges I experienced creating this app. The goal of the app is to provide a study tool for users where they have decks (topics a user is studying) and each deck has flashcards. Each flashcard can be flipped over, to provide the element of quizzing yourself.

This project had a few requirements, the first being the application must have a front-end built with HTML, CSS, and JavaScript that interacts with an…


The time at Flatiron School is flying by and I cannot believe I just completed my third project, a Ruby on Rails web application. I wanted to share a little bit about my project, parts of the process that helped me succeed, and some challenges I faced during it.

For my project, I have an interest in the stock market and investing. From what I have seen, people tend to have many different investment accounts from a brokerage account, IRA, 401K, etc. Moreover, all those accounts are on different platforms as well. So I decided to create a web application…

Kunal Shah

Full Stack Web Developer | Flatiron School Software Engineering Graduate | TV Show Enthusiast. Pittsburgh Sports Fanatic.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store