Medium題。給一陣列及一非負整數,將陣列的每個元素向右移動整數個位置,右移的元素超過陣列長度則調到陣列頭部。
2022/9/14
2022/9/13
2022/9/12
2022/9/7
LeetCode 1. Two sum
Two sum是LeetCode easy經典題(因為是problem 1),但不幸地我是看過「How to: Work at Google - Example Coding/Engineering interview」才來解這題,所以已經知道怎麼解了。
2020/5/27
LeetCode 3 Longest Substring Without Repeating Characters 最長的無重複字符的子字串
本篇為LeetCode上演算法的Medium問題,Longest Substring Without Repeating Characters 最長的無重複字符的子字串。
2020/5/22
2019/11/17
2018/12/23
2018/12/21
2018/12/18
2018/12/17
2018/12/14
2018/12/13
2018/12/12
訂閱:
文章 (Atom)