All Posts

Regular Expression Matching Problem

LeetCode 10. Given an input string s and a pattern...

Pow(x,n) Problem

LeetCode 50. Determine if a 9 x 9 Sudoku board...

Permutations Problem

LeetCode 46. Given an array nums of distinct integers, return...

Permutations II Problem

LeetCode 47. Given a collection of numbers, nums, that might...

Palindrome Number Problem

LeetCode 9. Given an integer x, return true if x...

Next Permutation Problem

LeetCode 31. Implement next permutation, which rearranges numbers into the...

Multiply Strings Problem

LeetCode 43. Given two non-negative integers num1 and num2 represented...

Longest Valid Parentheses Problem

LeetCode 32. Given a string containing just the characters ‘(‘...


Jump Game II Problem

LeetCode 45. Given an array of non-negative integers nums, you...

Integer to Roman Problem

LeetCode 12. Given an integer, convert it to a roman...

Group Anagrams Problem

LeetCode 49. Given an array of strings strs, group the...

First Missing Positive Problem

LeetCode 41. Given an unsorted integer array nums, return the...

Find First and Last Position of Element in Sorted Array Problem

LeetCode 34. Given the array nums after the possible rotation...

Divide Two Integers Problem

LeetCode 29. Write the code that will take a string...

Count and Say Problem

LeetCode 38. Write the code that will take a string...