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 March 3, 2021March 3, 2021
  • LeetCode

LeetCode 1085. Sum of Digits in the Minimum Number

Description https://leetcode.com/problems/sum-of-digits-in-the-minimum-number/ Given an array A of positive integers, let S be the sum of the digits of the minimal element of A. Return 0…

Continue Reading
  • Posted on March 2, 2021March 2, 2021
  • LeetCode

LeetCode 1704. Determine if String Halves Are Alike

Description https://leetcode.com/problems/determine-if-string-halves-are-alike/ You are given a string s of even length. Split this string into two halves of equal lengths, and let a be…

Continue Reading
  • Posted on February 24, 2021February 24, 2021
  • LeetCode

LeetCode 804. Unique Morse Code Words

Description https://leetcode.com/problems/unique-morse-code-words/ International Morse Code defines a standard encoding where each letter is mapped to a series of dots and…

Continue Reading
  • Posted on February 19, 2021February 19, 2021
  • LeetCode

LeetCode 1684. Count the Number of Consistent Strings

Description https://leetcode.com/problems/count-the-number-of-consistent-strings/ You are given a string allowed consisting of distinct characters and an array of strings words. A string is consistent if all characters in the…

Continue Reading
  • Posted on February 19, 2021February 19, 2021
  • LeetCode

LeetCode 1662. Check If Two String Arrays are Equivalent

Description https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent/ Given two string arrays word1 and word2, returntrue if the two arrays represent the same string, and false otherwise. A string is represented by an array if the…

Continue Reading
  • Posted on February 18, 2021February 18, 2021
  • LeetCode

LeetCode 1678. Goal Parser Interpretation

Description https://leetcode.com/problems/goal-parser-interpretation/ You own a Goal Parser that can interpret a string command. The command consists of an alphabet of “G”, “()” and/or “(al)” in some order. The Goal Parser…

Continue Reading
  • Posted on February 16, 2021February 16, 2021
  • LeetCode

LeetCode 1528. Shuffle String

Description https://leetcode.com/problems/shuffle-string/ Given a string s and an integer array indices of the same length. The string s will be shuffled such that the character at the ith position…

Continue Reading
  • Posted on February 13, 2021February 13, 2021
  • LeetCode

LeetCode 1108. Defanging an IP Address

Description https://leetcode.com/problems/defanging-an-ip-address/ Given a valid (IPv4) IP address, return a defanged version of that IP address. A defanged IP address replaces every period “.” with “[.]”. Example…

Continue Reading
  • Posted on February 9, 2021February 9, 2021
  • LeetCode

LeetCode 1119. Remove Vowels from a String

Description https://leetcode.com/problems/remove-vowels-from-a-string/ Given a string s, remove the vowels ‘a’, ‘e’, ‘i’, ‘o’, and ‘u’ from it, and return the new string. Example 1: Input: s =…

Continue Reading
  • Posted on February 2, 2021February 2, 2021
  • LeetCode

LeetCode 151. Reverse Words in a String

Description https://leetcode.com/problems/reverse-words-in-a-string/ Given an input string s, reverse the order of the words. A word is defined as a sequence of non-space characters. The words in s will…

Continue Reading

Posts navigation

Page 1 Page 2 … Page 4 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (267)
    • Array (71)
    • Backtracking (10)
    • Binary Search (12)
    • Binary Tree (25)
    • Bit Manipulation (5)
    • Database (18)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (15)
    • Math (22)
    • Recursion (1)
    • Sorting (7)
    • Stack (10)
    • String (34)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress