2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
線性排序法 線性排序(Linear sort),指的是時間複雜度為O(n)的排序演算法,之所以時間複雜度能達到線性,是因為這種排序非基於比較的,但它的適用場景也...
Day 29
2024-09-07
598
0
125. Valid Palindrome 題目描述:一個字串如果在將所有大寫字母轉換為小寫字母並移除所有非字母數字的字符後,正反讀起來相同,則稱為Palind...
Day 26
2024-09-04
596
0
118. Pascal's Triangle 题目描述: 給定一個非負整數 numRows,生成帕斯卡三角形的前 numRows 行。 Example : I...
Day 16
2024-09-19
596
0
上課紀錄 Path Traversal Intro 像是類似這樣的網址,如果把 ?file=report.pdf 改成 ?file=../../../../e...
Day 22
2024-10-06
594
0
原文題目 You are given an n x n 2D matrix representing an image, rotate the image by...
Day 27
2024-10-11
593
0
原文題目 Given an array nums of size n, return the majority element. The majority el...