GoodTecher

Be a Good Techer and Tech for Good. www.goodtecher.com

Skip to content
Menu
  • Home
  • LeetCode
    • Array
    • Binary Search
    • Binary Tree
    • Depth First Search
    • Design
    • Dynamic Programming
    • Linked List
    • Math
    • Stack
    • String
    • Two Pointers
    • Union Find
  • Useful

Category: String

  • Posted on May 28, 2021May 28, 2021
  • LeetCode

LeetCode 1417. Reformat The String

Description https://leetcode.com/problems/reformat-the-string/ Given alphanumeric string s. (Alphanumeric string is a string consisting of lowercase English letters and digits). You have to find…

Continue Reading
  • Posted on May 26, 2021May 26, 2021
  • LeetCode

LeetCode 890. Find and Replace Pattern

Description https://leetcode.com/problems/find-and-replace-pattern/ Given a list of strings words and a string pattern, return a list of words[i] that match pattern. You may return the answer in any order.…

Continue Reading
  • Posted on May 26, 2021May 26, 2021
  • LeetCode

LeetCode 1869. Longer Contiguous Segments of Ones than Zeros

Description https://leetcode.com/problems/longer-contiguous-segments-of-ones-than-zeros/ Given a binary string s, return true if the longest contiguous segment of 1s is strictly longer than the longest contiguous segment of 0s in s. Return false otherwise. For example, in s…

Continue Reading
  • Posted on May 17, 2021May 17, 2021
  • LeetCode

LeetCode 451. Sort Characters By Frequency

Description https://leetcode.com/problems/sort-characters-by-frequency/ Given a string s, sort it in decreasing order based on the frequency of characters, and return the sorted string.…

Continue Reading
  • Posted on May 17, 2021May 17, 2021
  • LeetCode

LeetCode 1859. Sorting the Sentence

Description https://leetcode.com/problems/sorting-the-sentence/ A sentence is a list of words that are separated by a single space with no leading or trailing spaces.…

Continue Reading
  • Posted on May 14, 2021August 3, 2021
  • LeetCode

LeetCode 1078. Occurrences After Bigram

Description https://leetcode.com/problems/occurrences-after-bigram/ Given words first and second, consider occurrences in some text of the form “first second third“, where second comes immediately after first, and third comes immediately after second. For…

Continue Reading
  • Posted on May 13, 2021
  • LeetCode

LeetCode 266. Palindrome Permutation

Description https://leetcode.com/problems/palindrome-permutation/ Given a string s, return true if a permutation of the string could form a palindrome. Example 1: Input: s =…

Continue Reading
  • Posted on May 12, 2021May 12, 2021
  • LeetCode

LeetCode 1374. Generate a String With Characters That Have Odd Counts

Description https://leetcode.com/problems/generate-a-string-with-characters-that-have-odd-counts/ Given an integer n, return a string with n characters such that each character in such string occurs an odd number of times. The…

Continue Reading
  • Posted on May 11, 2021May 11, 2021
  • LeetCode

LeetCode 788. Rotated Digits

Description https://leetcode.com/problems/rotated-digits/ x is a good number if after rotating each digit individually by 180 degrees, we get a valid number…

Continue Reading
  • Posted on May 10, 2021May 10, 2021
  • LeetCode

LeetCode 1763. Longest Nice Substring

Description https://leetcode.com/problems/longest-nice-substring/ A string s is nice if, for every letter of the alphabet that s contains, it appears both in uppercase and lowercase. For example, “abABB” is nice because ‘A’ and ‘a’ appear,…

Continue Reading

Posts navigation

Previous Page Page 1 Page 2 Page 3 Page 4 … Page 10 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (7)
  • LeetCode (588)
    • Array (185)
    • Backtracking (18)
    • Binary Search (19)
    • Binary Tree (63)
    • Bit Manipulation (15)
    • Database (40)
    • Depth First Search (6)
    • Design (10)
    • Dynamic Programming (17)
    • Graph (18)
    • Greedy (5)
    • Heap (1)
    • Linked List (26)
    • Math (36)
    • Recursion (3)
    • Sorting (11)
    • Stack (11)
    • String (95)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2025 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress