iT邦幫忙

鐵人檔案

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

Leetcode Top Interview 150 系列

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

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

58. Length of Last Word

Given a string s consisting of words and spaces, return the length of the last...

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

28. Find the Index of the First Occurrence in a String

Given two strings needle and haystack, return the index of the first occurrence...

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

14. Longest Common Prefix

Write a function to find the longest common prefix string amongst an array of s...

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

392. Is Subsequence

Given two strings s and t, return true if s is a subsequence of t, or false oth...

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

383. Ransom Note

Given two strings ransomNote and magazine, return true if ransomNote can be con...

2023-09-24 ‧ 由 jrnalts 分享