LeetCode 135. Candy
Description https://leetcode.com/problems/candy/ There are N children standing in a line. Each child is assigned a rating value. You are giving candies to…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/candy/ There are N children standing in a line. Each child is assigned a rating value. You are giving candies to…
Description https://leetcode.com/problems/strobogrammatic-number/ A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).…
Description https://leetcode.com/problems/most-common-word/ You are playing the Bulls and Cows game with your friend. You write down a secret number and ask your…
Description https://leetcode.com/problems/most-common-word/ You are given an array of variable pairs equations and an array of real numbers values, where equations[i] = [Ai, Bi] and values[i] represent the…
Description https://leetcode.com/problems/most-common-word/ Given a paragraph and a list of banned words, return the most frequent word that is not in the…
Description https://leetcode.com/problems/strobogrammatic-number-ii/ A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).…
Description https://leetcode.com/problems/decode-string/ Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is…
Description https://leetcode.com/problems/course-schedule/ There are a total of numCourses courses you have to take, labeled from 0 to numCourses – 1. You are given an array prerequisites where prerequisites[i]…
Description https://leetcode.com/problems/fruit-into-baskets/ You are visiting a farm that has a single row of fruit trees arranged from left to right.…
Description https://leetcode.com/problems/longest-increasing-path-in-a-matrix/ Given an integer matrix, find the length of the longest increasing path. From each cell, you can either…