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 October 23, 2020October 23, 2020
  • LeetCode

LeetCode 833. Find And Replace in String

Description https://leetcode.com/problems/find-and-replace-in-string/ To some string S, we will perform some replacement operations that replace groups of letters with new ones (not necessarily the…

Continue Reading
  • Posted on October 21, 2020October 21, 2020
  • LeetCode

LeetCode 771. Jewels and Stones

Description https://leetcode.com/problems/jewels-and-stones/ You’re given strings J representing the types of stones that are jewels, and S representing the stones you have.  Each character in S is…

Continue Reading
  • Posted on October 21, 2020October 21, 2020
  • LeetCode

LeetCode 753. Cracking the Safe

Description https://leetcode.com/problems/cracking-the-safe/ There is a box protected by a password. The password is a sequence of n digits where each digit can be…

Continue Reading
  • Posted on October 20, 2020October 20, 2020
  • LeetCode

LeetCode 809. Expressive Words

Description https://leetcode.com/problems/expressive-words/ Sometimes people repeat letters to represent extra feeling, such as “hello” -> “heeellooo”, “hi” -> “hiiii”.  In these…

Continue Reading
  • Posted on October 18, 2020October 18, 2020
  • LeetCode

LeetCode 205. Isomorphic Strings

Description https://leetcode.com/problems/isomorphic-strings/ Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced…

Continue Reading
  • Posted on October 16, 2020October 16, 2020
  • LeetCode

LeetCode 299. Bulls and Cows

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…

Continue Reading
  • Posted on October 15, 2020January 14, 2021
  • LeetCode

LeetCode 819. Most Common Word

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…

Continue Reading
  • Posted on October 9, 2020October 9, 2020
  • LeetCode

LeetCode 681. Next Closest Time

Description https://leetcode.com/problems/next-closest-time/ Given a time represented in the format “HH:MM”, form the next closest time by reusing the current digits.…

Continue Reading
  • Posted on October 9, 2020October 9, 2020
  • LeetCode

LeetCode 159. Longest Substring with At Most Two Distinct Characters

Description https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters/ Given a string s , find the length of the longest substring t  that contains at most 2 distinct characters. Example 1: Input: “eceba”…

Continue Reading
  • Posted on October 8, 2020October 9, 2020
  • LeetCode

LeetCode 844. Backspace String Compare

Description https://leetcode.com/problems/backspace-string-compare/ Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Note…

Continue Reading

Posts navigation

Page 1 Page 2 Page 3 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (190)
    • Array (41)
    • Backtracking (10)
    • Binary Search (11)
    • Binary Tree (21)
    • Bit Manipulation (4)
    • Database (1)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (14)
    • Math (16)
    • Recursion (1)
    • Sorting (5)
    • Stack (8)
    • String (23)
    • Two Pointers (10)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (2)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress