iT邦幫忙

鐵人檔案

2023 iThome 鐵人賽
回列表
自我挑戰組

Leetcode Top Interview 150 系列

刷題練習
https://leetcode.com/studyplan/top-interview-150/

參賽天數 15 天 | 共 15 篇文章 | 0 人訂閱 訂閱系列文 RSS系列文
DAY 1

88. Merge Sorted Array

You are given two integer arrays nums1 and nums2, sorted in non-decreasing orde...

2023-09-10 ‧ 由 jrnalts 分享
DAY 2

27. Remove Element

Given an integer array nums and an integer val, remove all occurrences of val i...

2023-09-11 ‧ 由 jrnalts 分享
DAY 3

605. Can Place Flowers

You have a long flowerbed in which some of the plots are planted, and some are...

2023-09-12 ‧ 由 jrnalts 分享
DAY 4

2. Add Two Numbers

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

2023-09-13 ‧ 由 jrnalts 分享
DAY 5

459. Repeated Substring Pattern

Given a string s, check if it can be constructed by taking a substring of it an...

2023-09-14 ‧ 由 jrnalts 分享
DAY 6

189. Rotate Array

Given an integer array nums, rotate the array to the right by k steps, where k...

2023-09-15 ‧ 由 jrnalts 分享
DAY 7

169. Majority Element

Given an array nums of size n, return the majority element. The majority elemen...

2023-09-16 ‧ 由 jrnalts 分享
DAY 8

26. Remove Duplicates from Sorted Array

Given an integer array nums sorted in non-decreasing order, remove the duplicat...

2023-09-17 ‧ 由 jrnalts 分享
DAY 9

122. Best Time to Buy and Sell Stock II

You are given an integer array prices where prices[i] is the price of a given s...

2023-09-18 ‧ 由 jrnalts 分享
DAY 10

13. Roman to Integer

Roman numerals are represented by seven different symbols: I, V, X, L, C, D and...

2023-09-19 ‧ 由 jrnalts 分享