原创 861. Score After Flipping Matrix**

861. Score After Flipping Matrix** https://leetcode.com/problems/score-after-flipping-matrix/ 題目描述 We have a two di

原创 300. Longest Increasing Subsequence**

300. Longest Increasing Subsequence** https://leetcode.com/problems/longest-increasing-subsequence/ 題目描述 Given an u

原创 278. First Bad Version*

278. First Bad Version* https://leetcode.com/problems/first-bad-version/ 題目描述 You are a product manager and current

原创 986. Interval List Intersections**

986. Interval List Intersections** https://leetcode.com/problems/interval-list-intersections/ 題目描述 Given two lists

原创 623. Add One Row to Tree**

623. Add One Row to Tree** https://leetcode.com/problems/add-one-row-to-tree/ 題目描述 Given the root of a binary tree,

原创 912. Sort an Array**

912. Sort an Array** https://leetcode.com/problems/sort-an-array/ 題目描述 Given an array of integers nums, sort the ar

原创 739. Daily Temperatures**

739. Daily Temperatures** https://leetcode.com/problems/daily-temperatures/ 題目描述 Given a list of daily temperatures

原创 通過實例學習 PySpark

通過實例學習 PySpark 最近學習了一下 PySpark, 目標是在工作中能將其用上. 在實踐過程中發現, 通過一個個具體的問題來進行學習, 很多內容掌握起來更爲容易. 因此後面如果寫相關的文章, 也會採用實例的方式來介紹.

原创 1137. N-th Tribonacci Number*

1137. N-th Tribonacci Number* https://leetcode.com/problems/n-th-tribonacci-number/ 題目描述 The Tribonacci sequence Tn

原创 1342. Number of Steps to Reduce a Number to Zero*

1342. Number of Steps to Reduce a Number to Zero* https://leetcode.com/problems/number-of-steps-to-reduce-a-number-

原创 198. House Robber*

198. House Robber* https://leetcode.com/problems/house-robber/ 題目描述 You are a professional robber planning to rob h

原创 172. Factorial Trailing Zeroes*

172. Factorial Trailing Zeroes* https://leetcode.com/problems/factorial-trailing-zeroes/ 題目描述 Given an integer n, r

原创 70. Climbing Stairs*

70. Climbing Stairs* https://leetcode.com/problems/climbing-stairs/ 題目描述 You are climbing a stair case. It takes n

原创 763. Partition Labels**

763. Partition Labels** https://leetcode.com/problems/partition-labels/ 題目描述 A string S of lowercase letters is giv

原创 367. Valid Perfect Square*

367. Valid Perfect Square* https://leetcode.com/problems/valid-perfect-square/ 題目描述 Given a positive integer num, w