Showing 3 of 3 questions
You are given two linked lists, each representing a non-negative integer. Add the two numbers and return the sum as a linked list.
#1. Add Two Numbers
Find the median of two sorted arrays. The arrays can be of different sizes, and you should aim for an efficient solution.
#2. Median of Two Sorted Arrays
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 · 3 total