iT邦幫忙

鐵人檔案

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

LeetCode小試身手 系列

記錄LeetCode刷題

參賽天數 12 天 | 共 14 篇文章 | 8 人訂閱 訂閱系列文 RSS系列文
DAY 1

【Day 1】#1 - Two Num

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

2019-09-02 ‧ 由 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-03 ‧ 由 hyj1116 分享
DAY 3

【Day 3】#10 - Regular Expression Matching

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

2019-09-04 ‧ 由 hyj1116 分享
DAY 4

【Day 4】#53 - Maximum Subarray

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

2019-09-05 ‧ 由 hyj1116 分享
DAY 5

【Day 5】#66 - Plus One

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

2019-09-06 ‧ 由 hyj1116 分享
DAY 6

【Day 6】#11 - Container With Most Water

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

2019-09-07 ‧ 由 hyj1116 分享
DAY 7

【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-08 ‧ 由 hyj1116 分享
DAY 8

【Day 8】#136 - Single Number

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

2019-09-09 ‧ 由 hyj1116 分享
DAY 9

【Day 9】#79 - Word Search

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

2019-09-10 ‧ 由 hyj1116 分享
DAY 10

【Day 10】#78 - Subsets

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

2019-09-11 ‧ 由 hyj1116 分享