Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to comple… Read More
House Robber Problem You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed; the on… Read More
Understanding the Problem To solve the problem of climbing stairs, you can use a technique called dynamic programming. Dynamic programming is a me… Read More
Dynamic Programming Dynamic Programming is an algorithmic method for solving optimization problems by breaking them(a problem or problem… Read More
Regular Expression Matching Given an input string(s) and a pattern (p), implement regular expression matching with support for '.' and … Read More
Edit Distance Given two strings, word1, and word2, return the minimum number of operations required to convert word1 to word2. … Read More
Target Sum You are given an integer array nums and an integer target. You want to build an expression out of nums by adding one of the symbols … Read More
Unique Paths A robot is located at the top-left corner of a m*n grid(marked 'Start' in the diagram below). The robot can only move eith… Read More
Maximum Product Subarray Given an integer array nums, find the contiguous subarray within an array(containing at least one number) which has the l… Read More
Problem: Partition Equal Subset Sum Given a non-empty array nums containing only positive integers, find if the array can be partitioned into two … Read More
Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to comple… Read More
ago ; 286 viewsHouse Robber Problem You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed; the on… Read More
ago ; 348 viewsUnderstanding the Problem To solve the problem of climbing stairs, you can use a technique called dynamic programming. Dynamic programming is a me… Read More
ago ; 371 viewsDynamic Programming Dynamic Programming is an algorithmic method for solving optimization problems by breaking them(a problem or problem… Read More
ago ; 349 viewsRegular Expression Matching Given an input string(s) and a pattern (p), implement regular expression matching with support for '.' and … Read More
ago ; 298 viewsEdit Distance Given two strings, word1, and word2, return the minimum number of operations required to convert word1 to word2. … Read More
ago ; 321 viewsTarget Sum You are given an integer array nums and an integer target. You want to build an expression out of nums by adding one of the symbols … Read More
ago ; 271 viewsUnique Paths A robot is located at the top-left corner of a m*n grid(marked 'Start' in the diagram below). The robot can only move eith… Read More
ago ; 311 viewsMaximum Product Subarray Given an integer array nums, find the contiguous subarray within an array(containing at least one number) which has the l… Read More
ago ; 282 viewsProblem: Partition Equal Subset Sum Given a non-empty array nums containing only positive integers, find if the array can be partitioned into two … Read More
ago ; 402 views