LeetCode 925. Long Pressed Name
Description https://leetcode.com/problems/long-pressed-name/ Your friend is typing his name into a keyboard. Sometimes, when typing a character c, the key might get long pressed, and…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/long-pressed-name/ Your friend is typing his name into a keyboard. Sometimes, when typing a character c, the key might get long pressed, and…
Description https://leetcode.com/problems/second-minimum-node-in-a-binary-tree/ Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this…
Description https://leetcode.com/problems/classes-more-than-5-students/ SQL Schema There is a table courses with columns: student and class Please list out all classes which have more than or equal…
Description https://leetcode.com/problems/set-mismatch/ You have a set of integers s, which originally contains all the numbers from 1 to n. Unfortunately, due to some error,…
Description https://leetcode.com/problems/construct-string-from-binary-tree/ You need to construct a string consists of parenthesis and integers from a binary tree with the preorder…
Description https://leetcode.com/problems/number-of-lines-to-write-string/ You are given a string s of lowercase English letters and an array widths denoting how many pixels wide each lowercase English letter is.…
Description https://leetcode.com/problems/slowest-key/ A newly designed keypad was tested, where a tester pressed a sequence of n keys, one at a time. You…
Description https://leetcode.com/problems/valid-perfect-square/ Given a positive integer num, write a function which returns True if num is a perfect square else False. Follow up: Do not use any…
Description https://leetcode.com/problems/rearrange-spaces-between-words/ You are given a string text of words that are placed among some number of spaces. Each word consists of…
Description https://leetcode.com/problems/find-mode-in-binary-search-tree/ Given the root of a binary search tree (BST) with duplicates, return all the mode(s) (i.e., the most frequently occurred element) in it.…