Description There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should […]
3. Longest Substring Without Repeating Characters
Description Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb” Output: 3 Explanation: The answer is “abc”, with the […]
Add Two Numbers – #2 LeetCode
Problem 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 contain a single digit. Add […]
Two Sum – #1 LeetCode
Problem Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input […]