原创 Palindrome Number(算法分析week6)
Palindrome Number 題目來源:https://leetcode.com/problemset/algorithms/ -問題描述- -解題思路- -代碼實現- 問題描述 Determine whether an
原创 Add Two Numbers(算法分析week1)
Add Two Numbers 題目來源:https://leetcode.com/problemset/algorithms/ 題目描述 You are given two non-empty linked lists repr
原创 Majority Element(算法分析week2)
Majority Element 題目來源:https://leetcode.com/problemset/algorithms/ 問題描述 解題思路 代碼實現 問題描述 Given an array of size n, f
原创 Assign Cookies(算法分析week7)
Assign Cookies 題目來源:https://leetcode.com/problemset/algorithms/ 題目類型:貪心算法 -問題描述- -解題思路- -代碼實現- 問題描述 Assume you a
原创 Reverse Integer(算法分析week5)
Reverse Integer 題目來源:https://leetcode.com/problems/algorithm/ -問題描述- -解題思路- -代碼實現- 問題描述 Reverse digits of an inte
原创 String to Integer (atoi)(算法分析week6)
String to Integer (atoi) 題目來源:https://leetcode.com/problems/algorithm/ -問題描述- -解體思路- -代碼實現- 問題描述 Implement atoi t
原创 Longest Substring Without Repeating Characters(算法分析week4)
Longest Substring Without Repeating Characters 題目來源:https://leetcode.com/problems/ -問題描述- -解題思路- -代碼實現- 問題描述 Give
原创 ZigZag Conversion(算法分析week4)
ZigZag Conversion 題目來源:https://leetcode.com/problems/ -問題描述- -解題思路- -代碼實現- 問題描述 The string “PAYPALISHIRING” is wr
原创 Range Sum Query 2D - Immutable(算法分析 week10)
Range Sum Query 2D - Immutable 題目來源:https://leetcode.com/problemset/algorithms/ 題目類型:動態規劃 -題目描述- -解題思路- -代碼實現- 題
原创 Search a 2D Matrix II (算法分析week3)
Search a 2D Matrix II 題目來源:https://leetcode.com/problems/ -問題描述 -解題思路 -代碼實現 問題描述 Write an efficient algorithm th
原创 N-Queens(算法分析week11)
N-Queens 題目來源:https://leetcode.com/problemset/algorithms/ -題目描述- -實現思路- -代碼實現- 題目描述 The n-queens puzzle is the pr
原创 Range Sum Query - Immutable(算法分析 week10)
Range Sum Query - Immutable 題目來源:https://leetcode.com/problemset/algorithms/ 題目類型:動態規劃 -題目描述- -解題思路- -代碼實現- 題目描述
原创 Climbing Stairs(算法分析week9)
Climbing Stairs 題目來源:https://leetcode.com/problemset/algorithms/ 題目類型:動態規劃 -題目描述- -解題思路- -代碼實現- 題目描述 You are cli
原创 Best Time to Buy and Sell Stock II(算法分析week7)
Best Time to Buy and Sell Stock II 題目來源:https://leetcode.com/problemset/algorithms/ 題目類型:貪心算法 -問題描述- -解題思路- -代碼實
原创 Maximum Subarray (算法分析week2)
Maximum Subarray 題目來源:https://leetcode.com/problemset/algorithms/ -問題描述 -解題思路 -代碼實現 問題描述 Find the contiguous sub