Welcome!
Post Categories A list of poupular but hard leetcode problems for interview
Here is the list most popular but hard interview questions that according to leetcode. List of problems and solutions fi
2022-12-14 Max points on a line
Problem:Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane, return the maximum numb
2022-11-30 Word break II
Problem:Given a string s and a dictionary of strings wordDict, add spaces in s to construct a sentence where each word i
2022-11-28 Word ladder
Problem:A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words
2022-11-17 Binary Tree Maximum Path Sum
Problem:A path in a binary tree is a sequence of nodes where each pair of adjacent nodes in the sequence has an edge con
2022-11-17 Largest rectangle in histogram
Problem:Given an array of integers heights representing the histogram’s bar height where the width of each bar is 1, ret
2022-11-12 Minimum window substring
Problem:Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that ev
2022-11-08 wildcard matching using dynamic programming
Problem:Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for ‘?’ and ‘‘ whe
2022-11-06 Compute how much water are trapped after raining (trapping rain water)
Problem:Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much w
2022-11-02 Find first missing positive integer in an unsorted array
Problem:Given an unsorted integer array nums, return the smallest missing positive integer.You must implement an algorit
2022-11-01 Merge K sorted lists
Problem:You are given an array of k linked-lists lists, each linked-list is sorted in ascending order.Merge all the link
2022-10-27 Regular expression matching
Problem:Given an input string s and a pattern p, implement regular expression matching with support for ‘.’ and ‘*’ wher
2022-10-25
1 / 2