All Posts

N-Queens Problem

LeetCode 51. Given an integer n, return all distinct solutions...

N-Queens II Problem

LeetCode 52. Given an integer n, return the number of...

Maximum Subarray Problem

LeetCode 53. Given an integer array nums, find the contiguous...

Length Of Last Word Problem

LeetCode 58. Given a string s consisting of some words...

Jump Game Problem

LeetCode 55. Given an m x n matrix, return all...

Insert Interval Problem

LeetCode 57. Insert newInterval into intervals such that intervals is...


Zigzag Conversion Problem

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

Wildcard Matching Problem

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

Search in Rotated Sorted Array Problem

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

Trapping Rain Water Problem

LeetCode 42. Given n non-negative integers representing an elevation map...

Sudoku Solver Problem

LeetCode 37. Write a program to solve a Sudoku puzzle...

Search in Rotated Sorted Array Problem

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

Rotate Image Problem

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


Reverse Nodes in k-Group Problem

LeetCode 25. Given a linked list, reverse the nodes of...

Remove Element Problem

LeetCode 27. Given an integer array nums and an integer...