Sort Characters By Frequency (LeetCode 451)
The problem You get a string . Rearrange it so that characters appear in order…
Tag
13 posts
The problem You get a string . Rearrange it so that characters appear in order…
The problem You want to encode a list of words as one string where each word is…
The problem You get a list of roots (the dictionary) and a sentence of space…
The problem You get a string of lowercase letters. Rearrange its letters so…
The problem You get a list of strings. Return the longest string that is a…
The problem Design a class with three methods: stores a word. returns only…
A hash set can tell you whether an exact word exists, but it is useless the…
Problem Statement Replace all spaces in a string with ‘%20’ (three characters…
Problem Statement Given a string, determine if it is a palindrome, considering…
Problem Statement Given two strings s and t , write a function to determine if t…
Problem Statement Given a string, find the first non-repeating character in it…
Problem Statement Write a function that reverses a string. The input string is…
Problem Statement Given a signed integer, reverse digits of an integer. Return…





