Algorithm challenges and my process to solving them.

Leetcode and other algorithm challenges are a great way to practice your coding skills. Here are some of my solutions to problems of varying difficulties.

Zigzag Conversion

Write the code that will take a string and make this conversion given a number of rows

Median of Two Sorted Arrays

Given two sorted arrays of size m and n respectively, return the median of the two sorted arrays.

Longest Substring without Repeating

Given two sorted arrays of size m and n respectively, return the median of the two sorted arrays.

Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.

Two Sum

Given an array of integers and an integer target, return indices of the two numbers such that they add up to target.