GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing leetcodejavascript.com — String LeetCode Problems | JavaScript Solutions

String | LeetCode Problems

683 String solutions to LeetCode solutions.

View Source Code on GitHub
All 2765 Array 1587 String 683 Hash Table 587 Math 485 Dynamic Programming 458 Sorting 384 Greedy 348 Depth-First Search 293 Binary Search 241 Tree 227 Breadth-First Search 224 Matrix 223 Two Pointers 200 Bit Manipulation 197 Binary Tree 175 Prefix Sum 159 Stack 154 Heap Priority Queue 152 Simulation 150 Counting 134 Graph 133 Design 123 Sliding Window 112 Backtracking 104 Union Find 79 Enumeration 78 Linked List 78 Ordered Set 60 Monotonic Stack 55 Trie 51 Number Theory 47 Divide and Conquer 46 Recursion 45 Bitmask 41 Queue 41 Binary Search Tree 40 Segment Tree 38 Memoization 36 Geometry 36 Combinatorics 35 Topological Sort 33 Hash Function 30 Binary Indexed Tree 28 Game Theory 26 String Matching 23 Shortest Path 23 Interactive 23 Rolling Hash 22 Data Stream 20 Brainteaser 16 Monotonic Queue 14 Randomized 12 Merge Sort 12 Doubly-Linked List 11 Counting Sort 10 Iterator 9 Probability and Statistics 7 Quickselect 7 Suffix Array 6 Bucket Sort 6 Line Sweep 5 Minimum Spanning Tree 5 Reservoir Sampling 4 Strongly Connected Component 3 Eulerian Circuit 3 Radix Sort 3 Rejection Sampling 2 Biconnected Component 1

String Problems View all solutions →

Longest Substring Without Repeating Characters

#3 Medium

Longest Palindromic Substring

#5 Medium

ZigZag Conversion

#6 Medium

String to Integer (atoi)

#8 Medium

Regular Expression Matching

#10 Hard

Integer to Roman

#12 Medium

Roman to Integer

#13 Easy

Longest Common Prefix

#14 Easy

Letter Combinations of a Phone Number

#17 Medium

Valid Parentheses

#20 Easy

Generate Parentheses

#22 Medium

Implement strStr()

#28 Easy

Substring with Concatenation of All Words

#30 Hard

Longest Valid Parentheses

#32 Hard

Count and Say

#38 Medium

Multiply Strings

#43 Medium

Wildcard Matching

#44 Hard

Group Anagrams

#49 Medium

Length of Last Word

#58 Easy

Valid Number

#65 Hard

Add Binary

#67 Easy

Text Justification

#68 Hard

Simplify Path

#71 Medium

Edit Distance

#72 Medium

Minimum Window Substring

#76 Hard

Word Search

#79 Medium

Scramble String

#87 Hard

Decode Ways

#91 Medium

Restore IP Addresses

#93 Medium

Interleaving String

#97 Medium

Distinct Subsequences

#115 Hard

Valid Palindrome

#125 Easy

Word Ladder II

#126 Hard

Word Ladder

#127 Hard

Palindrome Partitioning

#131 Medium

Palindrome Partitioning II

#132 Hard

Word Break

#139 Medium

Word Break II

#140 Hard

Reverse Words in a String

#151 Medium

Longest Substring with At Most Two Distinct Characters

#159 Medium

One Edit Distance

#161 Medium

Compare Version Numbers

#165 Medium

Fraction to Recurring Decimal

#166 Medium

Excel Sheet Column Title

#168 Easy

Excel Sheet Column Number

#171 Easy

Largest Number

#179 Medium

Reverse Words in a String II

#186 Medium

Repeated DNA Sequences

#187 Medium

Isomorphic Strings

#205 Easy

Implement Trie (Prefix Tree)

#208 Medium

Design Add and Search Words Data Structure

#211 Medium

Word Search II

#212 Hard

Shortest Palindrome

#214 Hard

Basic Calculator

#224 Hard

Basic Calculator II

#227 Medium

Different Ways to Add Parentheses

#241 Medium

Valid Anagram

#242 Easy

Shortest Word Distance

#243 Easy

Shortest Word Distance II

#244 Medium

Shortest Word Distance III

#245 Medium

Strobogrammatic Number

#246 Easy

Strobogrammatic Number II

#247 Medium

Strobogrammatic Number III

#248 Hard

Group Shifted Strings

#249 Medium

Binary Tree Paths

#257 Easy

Palindrome Permutation

#266 Easy

Palindrome Permutation II

#267 Medium

Alien Dictionary

#269 Hard

Encode and Decode Strings

#271 Medium

Integer to English Words

#273 Hard

Expression Add Operators

#282 Hard

Unique Word Abbreviation

#288 Medium

Word Pattern

#290 Easy

Word Pattern II

#291 Medium

Flip Game

#293 Easy

Serialize and Deserialize Binary Tree

#297 Hard

Bulls and Cows

#299 Medium

Remove Invalid Parentheses

#301 Hard

Additive Number

#306 Medium

Remove Duplicate Letters

#316 Medium

Maximum Product of Word Lengths

#318 Medium

Generalized Abbreviation

#320 Medium

Verify Preorder Serialization of a Binary Tree

#331 Medium

Palindrome Pairs

#336 Hard

Longest Substring with At Most K Distinct Characters

#340 Medium

Reverse String

#344 Easy

Reverse Vowels of a String

#345 Easy

Rearrange String k Distance Apart

#358 Hard

Ransom Note

#383 Easy

Mini Parser

#385 Medium

First Unique Character in a String

#387 Easy

Longest Absolute File Path

#388 Medium

Find the Difference

#389 Easy

Is Subsequence

#392 Easy

Decode String

#394 Medium

Longest Substring with At Least K Repeating Characters

#395 Medium

Evaluate Division

#399 Medium

Remove K Digits

#402 Medium

Valid Word Abbreviation

#408 Easy

Longest Palindrome

#409 Easy

Minimum Unique Word Abbreviation

#411 Hard

Fizz Buzz

#412 Easy

Add Strings

#415 Easy

Sentence Screen Fitting

#418 Medium

Strong Password Checker

#420 Hard

Reconstruct Original Digits from English

#423 Medium

Longest Repeating Character Replacement

#424 Medium

Word Squares

#425 Hard

Serialize and Deserialize N-ary Tree

#428 Hard

Minimum Genetic Mutation

#433 Medium

Number of Segments in a String

#434 Easy

Find All Anagrams in a String

#438 Medium

Ternary Expression Parser

#439 Medium

String Compression

#443 Medium

Serialize and Deserialize BST

#449 Medium

Sort Characters By Frequency

#451 Medium

Repeated Substring Pattern

#459 Easy

Count The Repetitions

#466 Hard

Unique Substrings in Wraparound String

#467 Medium

Validate IP Address

#468 Medium

Encode String with Shortest Length

#471 Hard

Concatenated Words

#472 Hard

Ones and Zeroes

#474 Medium

Magical String

#481 Medium

License Key Formatting

#482 Easy

Find Permutation

#484 Medium

Zuma Game

#488 Hard

The Maze III

#499 Hard

Keyboard Row

#500 Easy

Freedom Trail

#514 Hard

Longest Palindromic Subsequence

#516 Medium

Detect Capital

#520 Easy

Longest Uncommon Subsequence I

#521 Easy

Longest Uncommon Subsequence II

#522 Medium

Longest Word in Dictionary through Deleting

#524 Medium

Word Abbreviation

#527 Hard

Encode and Decode TinyURL

#535 Medium

Construct Binary Tree from String

#536 Medium

Complex Number Multiplication

#537 Medium

Minimum Time Difference

#539 Medium

Reverse String II

#541 Easy

Output Contest Matches

#544 Medium

Student Attendance Record I

#551 Easy

Split Concatenated Strings

#555 Medium

Next Greater Element III

#556 Medium

Reverse Words in a String III

#557 Easy

Find the Closest Palindrome

#564 Hard

Permutation in String

#567 Medium

Delete Operation for Two Strings

#583 Medium

Design In-Memory File System

#588 Hard

Tag Validator

#591 Hard

Fraction Addition and Subtraction

#592 Medium

Minimum Index Sum of Two Lists

#599 Easy

Design Compressed String Iterator

#604 Easy

Construct String from Binary Tree

#606 Easy

Find Duplicate File in System

#609 Medium

Add Bold Tag in String

#616 Medium

Design Excel Sum Formula

#631 Hard

Design Log Storage System

#635 Medium

Decode Ways II

#639 Hard

Solve the Equation

#640 Medium

Design Search Autocomplete System

#642 Hard

Palindromic Substrings

#647 Medium

Replace Words

#648 Medium

Dota2 Senate

#649 Medium

Robot Return to Origin

#657 Easy

Strange Printer

#664 Hard

Implement Magic Dictionary

#676 Medium

Map Sum Pairs

#677 Medium

Valid Parenthesis String

#678 Medium

Valid Palindrome II

#680 Easy

Next Closest Time

#681 Medium

Repeated String Match

#686 Easy

Stickers to Spell Word

#691 Hard

Top K Frequent Words

#692 Medium

Count Binary Substrings

#696 Easy

To Lower Case

#709 Easy

Minimum ASCII Delete Sum for Two Strings

#712 Medium

Longest Word in Dictionary

#720 Medium

Accounts Merge

#721 Medium

Remove Comments

#722 Medium

Number of Atoms

#726 Hard

Minimum Window Subsequence

#727 Hard

Count Different Palindromic Subsequences

#730 Hard

Sentence Similarity

#734 Easy

Parse Lisp Expression

#736 Hard

Sentence Similarity II

#737 Medium

Prefix and Suffix Search

#745 Hard

Shortest Completing Word

#748 Easy

IP to CIDR

#751 Medium

Open the Lock

#752 Medium

Bold Words in String

#758 Medium

Special Binary String

#761 Hard

Partition Labels

#763 Medium

Reorganize String

#767 Medium

Basic Calculator IV

#770 Hard

Jewels and Stones

#771 Easy

Basic Calculator III

#772 Hard

Swap Adjacent in LR String

#777 Medium

Letter Case Permutation

#784 Medium

Custom Sort String

#791 Medium

Number of Matching Subsequences

#792 Medium

Rotate String

#796 Easy

Similar RGB Color

#800 Easy

Unique Morse Code Words

#804 Easy

Number of Lines To Write String

#806 Easy

Expressive Words

#809 Medium

Subdomain Visit Count

#811 Medium

Ambiguous Coordinates

#816 Medium

Most Common Word

#819 Easy

Short Encoding of Words

#820 Medium

Shortest Distance to a Character

#821 Easy

Goat Latin

#824 Easy

Count Unique Characters of All Substrings of a Given String

#828 Hard

Positions of Large Groups

#830 Easy

Masking Personal Information

#831 Medium

Find And Replace in String

#833 Medium

Push Dominoes

#838 Medium

Similar String Groups

#839 Hard

Split Array into Fibonacci Sequence

#842 Medium

Guess the Word

#843 Hard

Backspace String Compare

#844 Easy

Shifting Letters

#848 Medium

K-Similar Strings

#854 Hard

Score of Parentheses

#856 Medium

Buddy Strings

#859 Easy

Decoded String at Index

#880 Medium

Uncommon Words from Two Sentences

#884 Easy

Find and Replace Pattern

#890 Medium

Groups of Special-Equivalent Strings

#893 Medium

Orderly Queue

#899 Hard

Numbers At Most N Given Digit Set

#902 Hard

Valid Permutations for DI Sequence

#903 Hard

Super Palindromes

#906 Hard

Word Subsets

#916 Medium

Reverse Only Letters

#917 Easy

Minimum Add to Make Parentheses Valid

#921 Medium

Long Pressed Name

#925 Easy

Flip String to Monotone Increasing

#926 Medium

Unique Email Addresses

#929 Easy

Stamping The Sequence

#936 Hard

Reorder Data in Log Files

#937 Medium

Distinct Subsequences II

#940 Hard

DI String Match

#942 Easy

Find the Shortest Superstring

#943 Hard

Delete Columns to Make Sorted

#944 Easy

Largest Time for Given Digits

#949 Medium

Verifying an Alien Dictionary

#953 Easy

Delete Columns to Make Sorted II

#955 Medium

Delete Columns to Make Sorted III

#960 Hard

Vowel Spellchecker

#966 Medium

Equal Rational Numbers

#972 Hard

Time Based Key-Value Store

#981 Medium

String Without AAA or BBB

#984 Medium

Smallest String Starting From Leaf

#988 Medium

Satisfiability of Equality Equations

#990 Medium

Find Common Characters

#1002 Easy

Check If Word Is Valid After Substitutions

#1003 Medium

Binary String With Substrings Representing 1 To N

#1016 Medium

Remove Outermost Parentheses

#1021 Easy

Camelcase Matching

#1023 Medium

Recover a Tree From Preorder Traversal

#1028 Hard

Stream of Characters

#1032 Hard

Robot Bounded In Circle

#1041 Medium

Longest Duplicate Substring

#1044 Hard

Remove All Adjacent Duplicates In String

#1047 Easy

Longest String Chain

#1048 Medium

Shortest Way to Form String

#1055 Medium

Minimize Rounding Error to Meet Target

#1058 Medium

Lexicographically Smallest Equivalent String

#1061 Medium

Longest Repeating Substring

#1062 Medium

Index Pairs of a String

#1065 Easy

Greatest Common Divisor of Strings

#1071 Easy

Occurrences After Bigram

#1078 Easy

Letter Tile Possibilities

#1079 Medium

Smallest Subsequence of Distinct Characters

#1081 Medium

Brace Expansion

#1087 Medium

Shortest Common Supersequence

#1092 Hard

Brace Expansion II

#1096 Hard

Find K-Length Substrings With No Repeated Characters

#1100 Medium

Parsing A Boolean Expression

#1106 Hard

Defanging an IP Address

#1108 Easy

Maximum Nesting Depth of Two Valid Parentheses Strings

#1111 Medium

Remove Vowels from a String

#1119 Easy

Alphabet Board Path

#1138 Medium

Longest Common Subsequence

#1143 Medium

Longest Chunked Palindrome Decomposition

#1147 Hard

String Transforms Into Another String

#1153 Hard

Day of the Year

#1154 Easy

Swap For Longest Repeated Character Substring

#1156 Medium

Find Words That Can Be Formed by Characters

#1160 Easy

Last Substring in Lexicographical Order

#1163 Hard

Single-Row Keyboard

#1165 Easy

Design File System

#1166 Medium

Invalid Transactions

#1169 Medium

Compare Strings by Frequency of the Smallest Character

#1170 Medium

Can Make Palindrome from Substring

#1177 Medium

Number of Valid Words for Each Puzzle

#1178 Hard

Count Substrings with Only One Distinct Letter

#1180 Easy

Before and After Puzzle

#1181 Medium

Maximum Number of Balloons

#1189 Easy

Reverse Substrings Between Each Pair of Parentheses

#1190 Medium

Smallest String With Swaps

#1202 Medium

Get Equal Substrings Within Budget

#1208 Medium

Remove All Adjacent Duplicates in String II

#1209 Medium

Valid Palindrome III

#1216 Hard

Split a String in Balanced Strings

#1221 Easy

Remove Sub-Folders from the Filesystem

#1233 Medium

Replace the Substring for Balanced String

#1234 Medium

Web Crawler

#1236 Medium

Maximum Length of a Concatenated String with Unique Characters

#1239 Medium

Minimum Swaps to Make Strings Equal

#1247 Medium

Minimum Remove to Make Valid Parentheses

#1249 Medium

Maximum Score Words Formed by Letters

#1255 Hard

Encode Number

#1256 Medium

Smallest Common Region

#1257 Medium

Synonymous Sentences

#1258 Medium

Search Suggestions System

#1268 Medium

Hexspeak

#1271 Easy

Palindrome Partitioning III

#1278 Hard

Iterator for Combination

#1286 Medium

Maximum Number of Occurrences of a Substring

#1297 Medium

Verbal Arithmetic Puzzle

#1307 Hard

Decrypt String from Alphabet to Integer Mapping

#1309 Easy

Minimum Insertion Steps to Make a String Palindrome

#1312 Hard

Distinct Echo Substrings

#1316 Hard

Minimum Distance to Type a Word Using Two Fingers

#1320 Hard

Print Words Vertically

#1324 Medium

Break a Palindrome

#1328 Medium

Remove Palindromic Subsequences

#1332 Easy

Minimum Number of Steps to Make Two Strings Anagram

#1347 Medium

Number of Substrings Containing All Three Characters

#1358 Medium

Number of Days Between Two Dates

#1360 Easy

Rank Teams by Votes

#1366 Medium

Increasing Decreasing String

#1370 Easy

Find the Longest Substring Containing Vowels in Even Counts

#1371 Medium

Generate a String With Characters That Have Odd Counts

#1374 Easy

Longest Happy Prefix

#1392 Hard

Design Underground System

#1396 Medium

Find All Good Strings

#1397 Hard

Construct K Palindrome Strings

#1400 Medium

Number of Steps to Reduce a Number in Binary Representation to One

#1404 Medium

Longest Happy String

#1405 Medium

String Matching in an Array

#1408 Easy

HTML Entity Parser

#1410 Medium

The k-th Lexicographical String of All Happy Strings of Length n

#1415 Medium

Restore The Array

#1416 Hard

Reformat The String

#1417 Easy

Display Table of Food Orders in a Restaurant

#1418 Medium

Minimum Number of Frogs Croaking

#1419 Medium

Maximum Score After Splitting a String

#1422 Easy

Perform String Shifts

#1427 Easy

Check If a String Can Break Another String

#1433 Medium

Destination City

#1436 Easy

Consecutive Characters

#1446 Easy

Simplified Fractions

#1447 Medium

Rearrange Words in a Sentence

#1451 Medium

People Whose List of Favorite Companies Is Not a Subset of Another List

#1452 Medium

Check If a Word Occurs As a Prefix of Any Word in a Sentence

#1455 Easy

Maximum Number of Vowels in a Substring of Given Length

#1456 Medium

Check If a String Contains All Binary Codes of Size K

#1461 Medium

Making File Names Unique

#1487 Medium

Path Crossing

#1496 Easy

Minimum Possible Integer After at Most K Adjacent Swaps On Digits

#1505 Hard

Reformat Date

#1507 Easy

Number of Substrings With Only 1s

#1513 Medium

Maximum Number of Non-Overlapping Substrings

#1520 Hard

Number of Good Ways to Split a String

#1525 Medium

Shuffle String

#1528 Easy

Minimum Suffix Flips

#1529 Medium

String Compression II

#1531 Hard

Can Convert String in K Moves

#1540 Medium

Minimum Insertions to Balance a Parentheses String

#1541 Medium

Find Longest Awesome Substring

#1542 Hard

Make The String Great

#1544 Easy

Find Kth Bit in Nth Binary String

#1545 Medium

Strings Differ by One Character

#1554 Medium

Thousand Separator

#1556 Easy

Number of Ways to Split a String

#1573 Medium

Replace All ?'s to Avoid Consecutive Repeating Characters

#1576 Medium

Minimum Time to Make Rope Colorful

#1578 Medium

Check If String Is Transformable With Substring Sort Operations

#1585 Hard

Rearrange Spaces Between Words

#1592 Easy

Split a String Into the Max Number of Unique Substrings

#1593 Medium

Build Binary Expression Tree From Infix Expression

#1597 Hard

Crawler Log Folder

#1598 Easy

Alert Using Same Key-Card Three or More Times in a One Hour Period

#1604 Medium

Maximum Nesting Depth of the Parentheses

#1614 Easy

Split Two Strings to Make Palindrome

#1616 Medium

Maximum Font to Fit a Sentence in a Screen

#1618 Medium

Largest Substring Between Two Equal Characters

#1624 Easy

Lexicographically Smallest String After Applying Operations

#1625 Medium

Slowest Key

#1629 Easy

Count Substrings That Differ by One Character

#1638 Medium

Number of Ways to Form a Target String Given a Dictionary

#1639 Hard

Minimum Deletions to Make Character Frequencies Unique

#1647 Medium

Minimum Deletions to Make String Balanced

#1653 Medium

Determine if Two Strings Are Close

#1657 Medium

Check If Two String Arrays are Equivalent

#1662 Easy

Smallest String With A Given Numeric Value

#1663 Medium

Maximum Repeating Substring

#1668 Easy

Goal Parser Interpretation

#1678 Easy

Longest Palindromic Subsequence II

#1682 Medium

Count the Number of Consistent Strings

#1684 Easy

Partitioning Into Minimum Number Of Deci-Binary Numbers

#1689 Medium

Reformat Phone Number

#1694 Easy

Number of Distinct Substrings in a String

#1698 Medium

Maximum Binary String After Change

#1702 Medium

Determine if String Halves Are Alike

#1704 Easy

Maximum Score From Removing Substrings

#1717 Medium

Latest Time by Replacing Hidden Digits

#1736 Easy

Change Minimum Characters to Satisfy One of Three Conditions

#1737 Medium

Palindrome Partitioning IV

#1745 Hard

Minimum Length of String After Deleting Similar Ends

#1750 Medium

Largest Merge Of Two Strings

#1754 Medium

Minimum Changes To Make Alternating Binary String

#1758 Easy

Count Number of Homogenous Substrings

#1759 Medium

Longest Nice Substring

#1763 Easy

Merge Strings Alternately

#1768 Easy

Minimum Number of Operations to Move All Balls to Each Box

#1769 Medium

Maximize Palindrome Length From Subsequences

#1771 Hard

Sort Features by Popularity

#1772 Medium

Count Items Matching a Rule

#1773 Easy

Sum of Beauty of All Substrings

#1781 Medium

Check if Binary String Has at Most One Segment of Ones

#1784 Easy

Check if One String Swap Can Make Strings Equal

#1790 Easy

Count Pairs of Equal Substrings With Minimum Difference

#1794 Medium

Second Largest Digit in a String

#1796 Easy

Implement Trie II (Prefix Tree)

#1804 Medium

Number of Different Integers in a String

#1805 Easy

Evaluate the Bracket Pairs of a String

#1807 Medium

Determine Color of a Chessboard Square

#1812 Easy

Sentence Similarity III

#1813 Medium

Truncate Sentence

#1816 Easy

Minimum Number of Operations to Make String Sorted

#1830 Hard

Check if the Sentence Is Pangram

#1832 Easy

Longest Substring Of All Vowels in Order

#1839 Medium

Next Palindrome Using Same Digits

#1842 Hard

Replace All Digits with Characters

#1844 Easy

Splitting a String Into Descending Consecutive Values

#1849 Medium

Minimum Adjacent Swaps to Reach the Kth Smallest Number

#1850 Medium

Sorting the Sentence

#1859 Easy

Minimum Number of Swaps to Make the Binary String Alternating

#1864 Medium

Longer Contiguous Segments of Ones than Zeros

#1869 Easy

Jump Game VII

#1871 Medium

Substrings of Size Three with Distinct Characters

#1876 Easy

Check if Word Equals Summation of Two Words

#1880 Easy

Maximum Value after Insertion

#1881 Medium

Minimum Number of Flips to Make the Binary String Alternating

#1888 Medium

Minimum Cost to Change the Final Value of Expression

#1896 Hard

Redistribute Characters to Make All Strings Equal

#1897 Easy

Maximum Number of Removable Characters

#1898 Medium

Largest Odd Number in String

#1903 Easy

The Number of Full Rounds You Have Played

#1904 Medium

Remove All Occurrences of a Substring

#1910 Medium

Number of Wonderful Substrings

#1915 Medium

Sum Game

#1927 Medium

Unique Length-3 Palindromic Subsequences

#1930 Medium

Check if String Is Decomposable Into Value-Equal Substrings

#1933 Easy

Maximum Number of Words You Can Type

#1935 Easy

Check if All Characters Have Equal Number of Occurrences

#1941 Easy

Sum of Digits of String After Convert

#1945 Easy

Largest Number After Mutating Substring

#1946 Medium

Delete Duplicate Folders in System

#1948 Hard

Delete Characters to Make Fancy String

#1957 Easy

Maximum Product of the Length of Two Palindromic Substrings

#1960 Hard

Check If String Is a Prefix of Array

#1961 Easy

Minimum Number of Swaps to Make the String Balanced

#1963 Medium

Number of Strings That Appear as Substrings in Word

#1967 Easy

Minimum Time to Type Word Using Special Typewriter

#1974 Easy

Number of Ways to Separate Numbers

#1977 Hard

Find Unique Binary String

#1980 Medium

Find the Kth Largest Integer in the Array

#1985 Medium

Number of Unique Good Subsequences

#1987 Hard

Reverse Prefix of Word

#2000 Easy

Maximum Product of the Length of Two Palindromic Subsequences

#2002 Medium

Final Value of Variable After Performing Operations

#2011 Easy

Longest Subsequence Repeated k Times

#2014 Hard

The Score of Students Solving Math Expression

#2019 Hard

Number of Pairs of Strings With Concatenation Equal to Target

#2023 Medium

Maximize the Confusion of an Exam

#2024 Medium

Minimum Moves to Convert String

#2027 Easy

Smallest K-Length Subsequence With Occurrences of a Letter

#2030 Hard

Remove Colored Pieces if Both Neighbors are the Same Color

#2038 Medium

Check if Numbers Are Ascending in a Sentence

#2042 Easy

Number of Valid Words in a Sentence

#2047 Easy

Kth Distinct String in an Array

#2053 Medium

Plates Between Candles

#2055 Medium

Number of Valid Move Combinations On Chessboard

#2056 Hard

Check if an Original String Exists Given Two Encoded Strings

#2060 Hard

Count Vowel Substrings of a String

#2062 Easy

Vowels of All Substrings

#2063 Medium

Number of Equal Count Substrings

#2067 Medium

Check Whether Two Strings are Almost Equivalent

#2068 Easy

Decode the Slanted Ciphertext

#2075 Medium

Substrings That Begin and End With the Same Letter

#2083 Medium

Count Common Words With One Occurrence

#2085 Easy

Minimum Number of Food Buckets to Feed the Hamsters

#2086 Medium

Step-By-Step Directions From a Binary Tree Node to Another

#2096 Medium

Rings and Rods

#2103 Easy

Find First Palindromic String in the Array

#2108 Easy

Adding Spaces to a String

#2109 Medium

Maximum Number of Words Found in Sentences

#2114 Easy

Find All Possible Recipes from Given Supplies

#2115 Medium

Check if a Parentheses String Can Be Valid

#2116 Medium

Execution of All Suffix Instructions Staying in a Grid

#2120 Medium

Check if All A's Appears Before All B's

#2124 Easy

Number of Laser Beams in a Bank

#2125 Medium

Capitalize the Title

#2129 Easy

Longest Palindrome by Concatenating Two Letter Words

#2131 Medium

Count Words Obtained After Adding a Letter

#2135 Medium

Divide a String Into Groups of Size k

#2138 Easy

Number of Ways to Divide a Long Corridor

#2147 Hard

Find Substring With Given Hash Value

#2156 Hard

Groups of Strings

#2157 Hard

Design Bitset

#2166 Medium

Minimum Time to Remove All Cars Containing Illegal Goods

#2167 Hard

Unique Substrings With Equal Digit Frequency

#2168 Medium

Construct String With Repeat Limit

#2182 Medium

Counting Words With a Given Prefix

#2185 Easy

Minimum Number of Steps to Make Two Strings Anagram II

#2186 Medium

Minimum Number of Moves to Make Palindrome

#2193 Hard

Cells in a Range on an Excel Sheet

#2194 Easy

Maximize Number of Subsequences in a String

#2207 Medium

Minimum White Tiles After Covering With Carpets

#2209 Hard

Count Collisions on a Road

#2211 Medium

Longest Substring of One Repeating Character

#2213 Hard

Number of Ways to Select Buildings

#2222 Medium

Sum of Scores of Built Strings

#2223 Hard

Minimum Number of Operations to Convert Time

#2224 Easy

Encrypt and Decrypt Strings

#2227 Hard

Minimize Result by Adding Parentheses to Expression

#2232 Medium

Calculate Digit Sum of a String

#2243 Easy

Longest Path With Different Adjacent Characters

#2246 Hard

Count Prefixes of a Given String

#2255 Easy

Remove Digit From Number to Maximize Result

#2259 Easy

Total Appeal of A String

#2262 Hard

Largest 3-Same-Digit Number in String

#2264 Easy

Count Number of Texts

#2266 Medium

Minimum Number of Keypresses

#2268 Medium

Find the K-Beauty of a Number

#2269 Easy

Find Resultant Array After Removing Anagrams

#2273 Easy

Percentage of Letter in String

#2278 Easy

Check if Number Has Equal Digit Count and Digit Value

#2283 Easy

Sender With Largest Word Count

#2284 Medium

Rearrange Characters to Make Target String

#2287 Easy

Apply Discount to Prices

#2288 Medium

Design a Text Editor

#2296 Hard

Strong Password Checker II

#2299 Easy

Match Substring After Replacement

#2301 Hard

Naming a Company

#2306 Hard

Greatest English Letter in Upper and Lower Case

#2309 Easy

Longest Binary Subsequence Less Than or Equal to K

#2311 Medium

Count Asterisks

#2315 Easy

Decode the Message

#2325 Easy

Valid Palindrome IV

#2330 Medium

Move Pieces to Obtain a String

#2337 Medium

Query Kth Smallest Trimmed Number

#2343 Medium

First Letter to Appear Twice

#2351 Easy

Design a Food Rating System

#2353 Medium

Longest Ideal Subsequence

#2370 Medium

Construct Smallest Number From DI String

#2375 Medium

Minimum Recolors to Get K Consecutive Black Blocks

#2379 Easy

Time Needed to Rearrange a Binary String

#2380 Medium

Shifting Letters II

#2381 Medium

Largest Palindromic Number

#2384 Medium

Removing Stars From a String

#2390 Medium

Minimum Amount of Time to Collect Garbage

#2391 Medium

Check Distances Between Same Letters

#2399 Easy

Optimal Partition of String

#2405 Medium

Design SQL

#2408 Medium

Count Days Spent Together

#2409 Easy

Length of the Longest Alphabetical Continuous Substring

#2414 Medium

Sum of Prefix Scores of Strings

#2416 Hard

Sort the People

#2418 Easy

Using a Robot to Print the Lexicographically Smallest String

#2434 Medium

Number of Valid Clock Times

#2437 Easy

Determine if Two Events Have Conflict

#2446 Easy

Number of Distinct Binary Strings After Applying Operations

#2450 Medium

Odd String Difference

#2451 Easy

Words Within Two Edits of Dictionary

#2452 Medium

Most Popular Video Creator

#2456 Medium

Split Message Based on Limit

#2468 Hard

Maximum Number of Non-overlapping Palindrome Substrings

#2472 Hard

Minimum Penalty for a Shop

#2483 Medium

Count Palindromic Subsequences

#2484 Hard

Append Characters to String to Make Subsequence

#2486 Medium

Number of Substrings With Fixed Ratio

#2489 Medium

Circular Sentence

#2490 Easy

Maximum Value of a String in an Array

#2496 Easy

Count Pairs Of Similar Strings

#2506 Easy

Reward Top K Students

#2512 Medium

Shortest Distance to Target String in a Circular Array

#2515 Easy

Take K of Each Character From Left and Right

#2516 Medium

Partition String Into Substrings With Values at Most K

#2522 Medium

Count the Number of Good Subsequences

#2539 Medium

Apply Bitwise Operations to Make Strings Equal

#2546 Medium

Count Vowel Strings in Ranges

#2559 Medium

Count the Number of Vowel Strings in Range

#2586 Easy

Design a Todo List

#2590 Medium

Find the Substring With Maximum Cost

#2606 Medium

Find the Longest Balanced Substring of a Binary String

#2609 Easy

Minimum Additions to Make Valid String

#2645 Medium

Number of Senior Citizens

#2678 Easy

Minimum String Length After Removing Substrings

#2696 Easy

Lexicographically Smallest Palindrome

#2697 Easy

Extra Characters in a String

#2707 Medium

Remove Trailing Zeros From a String

#2710 Easy

Minimum Cost to Make All Characters Equal

#2712 Medium

Minimize String Length

#2716 Easy

Count Substrings Without Repeating Character

#2743 Medium

Find Maximum Number of String Pairs

#2744 Easy

Partition String Into Minimum Beautiful Substrings

#2767 Medium

Sort Vowels in a String

#2785 Medium

Split Strings by Separator

#2788 Easy

Find The K-th Lucky Number

#2802 Medium

Faulty Keyboard

#2810 Easy

Make String a Subsequence Using Cyclic Increments

#2825 Medium

Check if a String Is an Acronym of Words

#2828 Easy

Furthest Point From Origin

#2833 Easy

Check if Strings Can be Made Equal With Operations I

#2839 Easy

Check if Strings Can be Made Equal With Operations II

#2840 Medium

Maximum Odd Binary Number

#2864 Easy

The Wording Game

#2868 Hard

Longest Unequal Adjacent Groups Subsequence I

#2900 Easy

Longest Unequal Adjacent Groups Subsequence II

#2901 Medium

Shortest and Lexicographically Smallest Beautiful String

#2904 Medium

Minimum Number of Changes to Make Binary String Beautiful

#2914 Medium

High-Access Employees

#2933 Medium

Make Three Strings Equal

#2937 Easy

Separate Black and White Balls

#2938 Medium

Find Words Containing Character

#2942 Easy

Count Beautiful Substrings I

#2947 Medium

Number of Divisible Substrings

#2950 Medium

Number of Same-End Substrings

#2955 Medium

Remove Adjacent Almost-Equal Characters

#2957 Medium

Minimum Cost to Convert String I

#2976 Medium

Find Longest Special Substring That Occurs Thrice I

#2981 Medium

Count the Number of Powerful Integers

#2999 Hard

Minimum Number of Pushes to Type Word I

#3014 Easy

Minimum Number of Pushes to Type Word II

#3016 Medium

Number of Changing Keys

#3019 Easy

Minimum Time to Revert Word to Initial State I

#3029 Medium

Maximum Palindromes After Operations

#3035 Medium

Count Prefix and Suffix Pairs I

#3042 Easy

Find the Length of the Longest Common Prefix

#3043 Medium

Shortest Uncommon Substring in an Array

#3076 Medium

Match Alphanumerical Pattern in Matrix I

#3078 Medium

Existence of a Substring in a String and Its Reverse

#3083 Easy

Count Substrings Starting and Ending with Given Character

#3084 Medium

Minimum Deletions to Make String K-Special

#3085 Medium

Make String Anti-palindrome

#3088 Hard

Maximum Length Substring With Two Occurrences

#3090 Easy

Find Longest Self-Contained Substring

#3104 Hard

Score of a String

#3110 Easy

Maximum Number of Potholes That Can Be Fixed

#3119 Medium

Maximum Number That Makes Result of Bitwise AND Zero

#3125 Medium

Equalize Strings by Adding or Removing Characters at Ends

#3135 Medium

Valid Word

#3136 Easy

Better Compression of String

#3167 Medium

Lexicographically Minimum String After Removing Stars

#3170 Medium

Clear Digits

#3174 Easy

Minimum Length of String After Operations

#3223 Medium

Vowels Game in a String

#3227 Medium

Maximum Total Area Occupied by Pistons

#3279 Hard

Count of Substrings Containing Every Vowel and K Consonants II

#3306 Medium

Count Substrings With K-Frequency Characters II

#3329 Hard

Find the Original Typed String I

#3330 Easy

Find the Original Typed String II

#3333 Hard

Total Characters in String After Transformations I

#3335 Medium

Total Characters in String After Transformations II

#3337 Hard

Count Number of Balanced Permutations

#3343 Hard

Find the Lexicographically Largest String From the Box I

#3403 Medium

Find the Lexicographically Largest String From the Box II

#3406 Hard

Maximum Difference Between Even and Odd Frequency I

#3442 Easy

Maximum Manhattan Distance After K Changes

#3443 Medium

Maximum Difference Between Even and Odd Frequency II

#3445 Hard

Longest Common Prefix After at Most One Removal

#3460 Medium

Check If Digits Are Equal in String After Operations I

#3461 Easy

Check If Digits Are Equal in String After Operations II

#3463 Hard

Apply Substitutions

#3481 Medium

Design Spreadsheet

#3484 Medium

Phone Number Prefix

#3491 Easy
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.