Zigzag Conversion
Write the code that will take a string and make this conversion given a number of rows
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.
Write the code that will take a string and make this conversion given a number of rows
Given a string, return the longest palindromic substring
Given two sorted arrays of size m and n respectively, return the median of the two sorted arrays.
Given two sorted arrays of size m and n respectively, return the median of the two sorted arrays.
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.
Given an array of integers and an integer target, return indices of the two numbers such that they add up to target.