Welcome to ZapsCode

I'm Steven Zapart, a DevOps/Cloud Engineer with a passion for designing effective software solutions to important business needs. I enjoy learning and developing new skills, coming up with ideas, and the process of bringing it all to life. Although I'm a DevOps Engineer, I still consider myself a software developer as well. I created this website at a time when I was focused on learning web development and solving algorithm problems.

The Projects page displays projects I have created including links to the sites, links to the source code, and video demos.

The Blog Posts page contains guides that walk through algorithm problems.

The About Me page has more information about me, my software development journey, and the purpose of this site.

Featured Projects

Netflix Clone

A functional Netflix clone site. Created with React and Firebase. Utilizes styled components.

Site includes:

  • Netflix's home page
  • A sign-up page that allows you to create an account with a username and password through Firebase
  • A sign-in page that only allows you sign in with a correct username and password
  • A browse page that incudes a dynamic search bar, a movies page, a TV shows page, and a video player

NBA Stats Visualization

A site that allows you to select from all NBA players and quickly get a visual comparison of trends in any stat over their careers.

Built using React and data from two NBA API's.

Site includes:

  • All major stats from any season of any current NBA player easily accessible in 3 clicks (Team => Player => Season)
  • A customizable graphing tool to visually display any stats
  • The ability to compare players' stats by selecting up to three players at once
  • Dark mode

Latest Blog Posts

"..."
Medium
Algorithm Guide
Leetcode Problem
Python
String
Stack

The Problem:

Given a string s of '(' , ')' and lowercase English characters.

Your task is to remove the minimum number of '(' or ')' in any positions so that the resulting parentheses string is valid and return any valid string.

Formally, a parentheses string is valid if and only if:

  • It is the empty string, contains only lowercase characters, or
  • It can be written as AB (A concatenated with B), where A and B are valid strings, or
  • It can be written as (A), where A is a valid string.
Medium
Algorithm Guide
Leetcode Problem
Python
Binary Tree

The Problem:

You are given an integer array 'nums' with no duplicates. A maximum binary tree can be built recursively from 'nums' using the following algorithm:

  1. Create a root node whose value is the maximum value in 'nums'.
  2. Recursively build the left subtree on the subarray prefix to the left of the maximum value.
  3. Recursively build the right subtree on the subarray suffix to the right of the maximum value.

Return the maximum binary tree built from 'nums'.

"..."
Easy
Algorithm Guide
Leetcode Problem
Python
String

The Problem:

In an alien language, surprisingly they also use English lowercase letters, but possibly in a different order. The order of the alphabet is some permutation of lowercase letters.

Given a sequence of words written in the alien language, and the order of the alphabet, return true if and only if the given words are sorted lexicographically in this alien language.

Minimum Remove to Make Valid Parentheses

Algorithm Guide
Leetcode Problem
Python
String
Stack
Medium
"..."

The Problem:

Given a string s of '(' , ')' and lowercase English characters.

Your task is to remove the minimum number of '(' or ')' in any positions so that the resulting parentheses string is valid and return any valid string.

Formally, a parentheses string is valid if and only if:

  • It is the empty string, contains only lowercase characters, or
  • It can be written as AB (A concatenated with B), where A and B are valid strings, or
  • It can be written as (A), where A is a valid string.

Maximum Binary Tree

Algorithm Guide
Leetcode Problem
Python
Binary Tree
Medium

The Problem:

You are given an integer array 'nums' with no duplicates. A maximum binary tree can be built recursively from 'nums' using the following algorithm:

  1. Create a root node whose value is the maximum value in 'nums'.
  2. Recursively build the left subtree on the subarray prefix to the left of the maximum value.
  3. Recursively build the right subtree on the subarray suffix to the right of the maximum value.

Return the maximum binary tree built from 'nums'.

Verifying an Alien Dictionary

Algorithm Guide
Leetcode Problem
Python
String
Easy
"..."

The Problem:

In an alien language, surprisingly they also use English lowercase letters, but possibly in a different order. The order of the alphabet is some permutation of lowercase letters.

Given a sequence of words written in the alien language, and the order of the alphabet, return true if and only if the given words are sorted lexicographically in this alien language.