LeetCode: 3-Longest Substring Without Repeating Characters 解題紀錄
題目
Given a string s, find the length of the longest substring without repeating characters.
Read More »LeetCode: 3-Longest Substring Without Repeating Characters 解題紀錄Given a string s, find the length of the longest substring without repeating characters.
Read More »LeetCode: 3-Longest Substring Without Repeating Characters 解題紀錄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.
You may assume the two numbers do not contain any leading zero, except the number 0 itself.
Read More »LeetCode: 2-Add Two Numbers 解題紀錄Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order.Read More »LeetCode: 1-Two Sum 解題紀錄