Showing 3 of 6 questions
You are given an array representing the heights of vertical lines. Find two lines that, together with the x-axis, form a container that holds the most water.
#1. Container With Most Water
Find the longest palindromic substring within a given string. A palindromic substring reads the same forwards and backward.
#2. Longest Palindromic Substring
You're given daily stock prices. Find the maximum profit you can make by buying and selling the stock once. You must buy before you sell.
#3. Best Time to Buy and Sell Stock
Page 1 of 1 · 6 total