# LeetCode 383. Ransom Note

题目Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ra
...

题目Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ra
...

题目You’re given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of s
...

题目You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality
...

题目Given a binary tree where each path going from the root to any leaf form a valid sequence, check if a given string is a valid sequence in such binar
...

题目Given a non-empty binary tree, find the maximum path sum.
For this problem, a path is defined as any sequence of nodes from some starting node to an
...

题目You have a queue of integers, you need to retrieve the first unique integer in the queue.
Implement the FirstUnique class:
FirstUnique(int[] nums)
...

题目Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area.
Example:
12345678Input: 1 0 1 0 0
...

题目Given two strings text1 and text2, return the length of their longest common subsequence.
A subsequence of a string is a new string generated from t
...

题目Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your max
...

题目Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put.
get(key) - Get t
...