LeetCode 824. Goat Latin
Description https://leetcode.com/problems/goat-latin/ A sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only.…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/goat-latin/ A sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only.…
Description https://leetcode.com/problems/reverse-words-in-a-string-iii/ Given a string, you need to reverse the order of characters in each word within a sentence while…
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…
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…
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…
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…
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…
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…
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…
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…