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 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 8, 2021
  • 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 2, 2020August 24, 2021
  • LeetCode

LeetCode 43. Multiply Strings

Description https://leetcode.com/problems/multiply-strings/ Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Note: You must not…

Continue Reading
  • Posted on August 21, 2020January 1, 2021
  • LeetCode

LeetCode 929. Unique Email Addresses

Description https://leetcode.com/problems/unique-email-addresses/ Every email consists of a local name and a domain name, separated by the @ sign. For example,…

Continue Reading
  • Posted on April 8, 2020September 29, 2020
  • LeetCode

LeetCode 49. Group Anagrams

Description https://leetcode.com/problems/group-anagrams/ Given an array of strings, group anagrams together. Example: Input: [“eat”, “tea”, “tan”, “ate”, “nat”, “bat”], Output: […

Continue Reading
  • Posted on March 23, 2020July 25, 2021
  • LeetCode

LeetCode 38. Count and Say

Description https://leetcode.com/problems/count-and-say/ The count-and-say sequence is a sequence of digit strings defined by the recursive formula: countAndSay(1) = “1” countAndSay(n) is the way…

Continue Reading
  • Posted on March 22, 2020September 22, 2021
  • LeetCode

LeetCode 242. Valid Anagram

Description https://leetcode.com/problems/valid-anagram/ Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = “anagram”,…

Continue Reading
  • Posted on March 22, 2020August 19, 2021
  • LeetCode

LeetCode 125. Valid Palindrome

Description https://leetcode.com/problems/valid-palindrome/ Given a string s, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Example 1:…

Continue Reading
  • Posted on March 15, 2020January 18, 2021
  • LeetCode

LeetCode 344. Reverse String

Description https://leetcode.com/problems/reverse-string/ Write a function that reverses a string. The input string is given as an array of characters char[]. Do…

Continue Reading
  • Posted on August 26, 2018July 8, 2021
  • LeetCode

LeetCode 387. First Unique Character in a String

Description Given a string, find the first non-repeating character in it and return it’s index. If it doesn’t exist, return…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 8 Page 9 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