iT邦幫忙

鐵人檔案

第 11 屆 iThome 鐵人賽
回列表
Software Development

LeetCode刷題日記 系列

紀錄LeetCode刷題及技巧

參賽天數 3 天 | 共 30 篇文章 | 9 人訂閱 訂閱系列文 RSS系列文
DAY 1

【Day 1】#1 - Two Num

題目 Given an array of integers, return indices of the two numbers such that they...

2019-09-16 ‧ 由 hyj1116 分享
DAY 2

【Day 2】#1176 - Diet Plan Performance

題目 A dieter consumes calories[i] calories on the i-th day. For every consecutiv...

2019-09-17 ‧ 由 hyj1116 分享
DAY 3

【Day 3】#10 - Regular Expression Matching

題目 Given an input string (s) and a pattern (p), implement regular expression mat...

2019-09-18 ‧ 由 hyj1116 分享
DAY 3

【Day 4】#53 - Maximum Subarray

題目 Given an integer array nums, find the contiguous subarray (containing at leas...

2019-09-20 ‧ 由 hyj1116 分享
DAY 3

【Day 5】#66 - Plus One

題目 Given a non-empty array of digits representing a non-negative integer, plus o...

2019-09-20 ‧ 由 hyj1116 分享
DAY 3

【Day 6】#11 - Container With Most Water

Given n non-negative integers a1, a2, ..., an , where each represents a point at...

2019-09-21 ‧ 由 hyj1116 分享
DAY 3

【Day 7】#1184 - Distance Between Bus Stops

A bus has n stops numbered from 0 to n - 1 that form a circle. We know the dista...

2019-09-22 ‧ 由 hyj1116 分享
DAY 3

【Day 8】#136 - Single Number

Given a non-empty array of integers, every element appears twice except for one....

2019-09-23 ‧ 由 hyj1116 分享
DAY 3

【Day 9】#79 - Word Search

Given a non-empty array of integers, every element appears twice except for one....

2019-09-24 ‧ 由 hyj1116 分享
DAY 3

【Day 10】#78 - Subsets

Given a set of distinct integers, nums, return all possible subsets (the power s...

2019-09-25 ‧ 由 hyj1116 分享