Skip to content

Latest commit

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Leetcode practice and solution (inspired by qiyuangong leetcode)

♥ means you need a subscription

No.TitleCodeBasic ideaLevel
990Satisfiability of Equality EquationsPython1. union-find
2. Create key and value 'a' to 'z'
Medium
989Add to Array-Form of IntegerPythonArray convert to integerEasy
988Smallest String Starting From LeafPython1. Using DFS and pop temp list until equal to level
2. Sort results and take the first one result
Medium
985Sum of Even Numbers After QueriesPython1. Calculate all even values of A 2. Subtract A[index] is even value and add value to A[index] and examine even values.Easy
984String Without AAA or BBBPythonDecide A or B which is greater than the other, while(L-S >= 2 and L >= 2 and S >= 1), while(L > 0 and S > 0), add remaining 'a' or 'b'Easy
257Binary Tree PathsPythonDFS, path_helper(cur, res, temp, level), pop()Easy
146LRU CachePythonDouble Linked list, HashMapHard
129Sum Root to Leaf NumbersPythonDFS, calculate value each timeMedium
2Add Two NumbersPythonLinked ListMedium
1Two SumPythonHashmapEasy

About

My leetcode practice quickly recap index

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages