Skip to content
YuTing-Fang1999Public

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

LeetCode

Data Structure

stack

901. Online Stock Span

priority_queue

295. Find Median from Data Stream

Algorithm

LCS (Longest Common Subsequence)

1143. Longest Common Subsequence

DFS

947. Most Stones Removed with Same Row or Column

Quick Select

215. Kth Largest Element in an Array

C++ Function

next_permutation(找出升序排列的下一個)

31. Next Permutation

stringstream(將字串以空格切開)

151. Reverse Words in a String

substr

s.substr(cur, maxLen); //字串s索引cur數起的maxLen個字元

pair< int, int >

pair< int, int > p;
p.first; //取值,注意沒括號
p.second;

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors