Articles in this series

198. House Robber 題目敘述 You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only...

計算爬樓梯的最低成本 · 746. Min Cost Climbing Stairs 題目敘述 You are given an integer array cost where cost[i] is the cost of ith step on a staircase. Once you pay...

輪替列表 · 61. Rotate List 題目敘述 Given the head of a linked list, rotate the list to the right by k places. Example 1: Input: head = [1,2,3,4,5], k =...

插入排序循環連結序列 · 708. Insert into a Sorted Circular Linked List 題目敘述 Given a Circular Linked List node, which is sorted in ascending order, write a function...

找出最長的回文子字串 · 5. Longest Palindromic Substring 題目敘述 Given a string s, return the longest palindromic substring in s. Example 1: Input: s = "babad" Output:...

合併兩個排序序列 · 21. Merge Two Sorted Lists 題目敘述 You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a one sorted list....