經過上次發文至今已經兩周了,這兩周一樣是持續練習,但我會希望在做一件事情的同時,也會額外地對周遭有幫助。因此思考了以後決定拍攝了一些講解影片。希望能夠對一樣努力增強基本程式能力的各位有所幫助,若可以的話煩請訂閱我鼓勵一下XD未來會持續生成內容。
以下有十道題目的解說,大部分都是study plan裡的leetcode75 level1的題目。
之後會漸漸地把所有study plan裡的所有題目去進行解析
首先是播放清單,目前有三個清單有內容
Leetcode75 Level1
https://www.youtube.com/playlist?list=PLilPmyMhvflGcFllratEItF-MLAVpgL24
Leetcode Medium
https://www.youtube.com/playlist?list=PLilPmyMhvflFeftAySLlqkHMZXxkp7CvI
Leetcode Easy
https://www.youtube.com/playlist?list=PLilPmyMhvflGowqdhZyKc53zY_y-onu9s
接下來是十道題目
21. Merge Two Sorted Lists
https://youtu.be/Qcb2Dijw0Ks
Isomorphic Strings
https://youtu.be/yTu2tZNTDPw
Reverse Linked List
https://youtu.be/2fkOFKYUCP8
Is Subsequence
https://youtu.be/At3Vl9-rinQ
Find Pivot Index
https://youtu.be/JvNTSm4TEkU
All Paths From Source To Target
https://youtu.be/w_JLPYgOzaM
Middle of the Linked List
https://youtu.be/_1BBxOHV9Rk
Running Sum of 1d Array
https://youtu.be/qx09O6XjKVA
Shortest Distance to Target String in a Circular Array
https://youtu.be/quOs3SYgL-o
Count the Digits That Divide a Number
https://youtu.be/kqRoOs2tok8
目前大概就只有製作這樣,算是一個嘗試,有任何優點與缺點歡迎跟我說,我都會虛心接受。
除此之外這兩周的練習,應該有以下,基本上題目裡面都有寫我的註解以及思考邏輯,除非是相對輕鬆的題目:
原則上都是medium的題目為主,easy的題目就是刷來熟悉語法用的,medium才是開始考驗演算法的真實力,所以未來都會是刷medium的題目,希望今年可以刷到1300題
Flood Fill (easy)
https://leetcode.com/problems/flood-fill/submissions/866079587/
Number of Islands (medium)
https://leetcode.com/problems/number-of-islands/submissions/866080081/
Max Area of Island (medium)
https://leetcode.com/problems/max-area-of-island/submissions/866635374/
Number of Closed Islands (medium)
https://leetcode.com/problems/number-of-closed-islands/submissions/866635339/
Number of Enclaves (medium)
https://leetcode.com/problems/number-of-enclaves/submissions/867209193/
Count Sub Islands (medium)
https://leetcode.com/problems/count-sub-islands/submissions/867209202/
As Far from Land as Possible (medium)
https://leetcode.com/problems/as-far-from-land-as-possible/submissions/867810143/
Pacific Atlantic Water Flow (medium)
https://leetcode.com/problems/pacific-atlantic-water-flow/submissions/867810155/
Shortest Path in Binary Matrix (medium)
https://leetcode.com/problems/shortest-path-in-binary-matrix/submissions/868351062/
01 Matrix (medium)
https://leetcode.com/problems/01-matrix/submissions/868350526/
Shortest Bridge (medium)
https://leetcode.com/problems/shortest-bridge/submissions/869002261/
Nearest Exit from Entrance in Maze (medium)
https://leetcode.com/problems/nearest-exit-from-entrance-in-maze/submissions/869002277/
All Paths From Source to Target (medium)
https://leetcode.com/problems/all-paths-from-source-to-target/submissions/870877806/
Keys and Rooms (medium)
https://leetcode.com/problems/keys-and-rooms/submissions/870877850/
Number of Provinces (medium)
https://leetcode.com/problems/number-of-provinces/submissions/870877903/
Number of Operations to Make Network Connected(medium)
https://leetcode.com/problems/number-of-operations-to-make-network-connected/submissions/871385480/
Time Needed to Inform All Employees (medium)
https://leetcode.com/problems/time-needed-to-inform-all-employees/submissions/871438074/