iT邦幫忙

鐵人檔案

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

LeetCode刷題日記 系列

紀錄LeetCode刷題及技巧

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

【Day 21】#205 - Isomorphic Strings

Given two strings s and t, determine if they are isomorphic. Two strings are iso...

2019-10-06 ‧ 由 hyj1116 分享
DAY 3

【Day 22】#2 - Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers....

2019-10-14 ‧ 由 hyj1116 分享

【Day 23】#9 - Palindrome Number

Determine whether an integer is a palindrome. An integer is a palindrome when it...

2019-12-04 ‧ 由 hyj1116 分享

【Day 24】#1260 - Shift 2D Grid

Given a 2D grid of size m x n and an integer k. You need to shift the grid k tim...

2019-12-05 ‧ 由 hyj1116 分享

【Day 25】#3 - Longest Substring Without Repeating Characters

Given a string, find the length of the longest substring without repeating chara...

2019-12-06 ‧ 由 hyj1116 分享

【Day 26】#238 - Product of Array Except Self

Given an array nums of n integers where n > 1, return an array output such t...

2019-12-07 ‧ 由 hyj1116 分享

【Day 27】#1282 - Group the People Given the Group Size They Belong To

There are n people whose IDs go from 0 to n - 1 and each person belongs exactly...

2019-12-08 ‧ 由 hyj1116 分享

【Day 28】#70 - Climbing Stairs

You are climbing a stair case. It takes n steps to reach to the top. Each time y...

2019-12-09 ‧ 由 hyj1116 分享

【Day 29】#84 - Largest Rectangle in Histogram

Given n non-negative integers representing the histogram's bar height where the...

2019-12-10 ‧ 由 hyj1116 分享

【Day 30】#98 - Validate Binary Search Tree

Given a binary tree, determine if it is a valid binary search tree (BST). Assume...

2019-12-19 ‧ 由 hyj1116 分享