LeetCode
leetcode.com โบ problem-list โบ string
String - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
LeetCode
leetcode.com โบ explore โบ featured โบ card โบ top-interview-questions-easy โบ 127 โบ strings
Explore - LeetCode
LeetCode Explore is the best place for everyone to start practicing and learning on LeetCode. No matter if you are a beginner or a master, there are always new topics waiting for you to explore.
Videos
Find the Index of the First Occurrence in a String #leetcode ...
14:56
Minimum Deletions to Make String Balanced - Leetcode 1653 - Python ...
16:25
Minimum Cost to Convert String I - Leetcode 2976 - Python - YouTube
08:01
String Matching in an Array - Leetcode 1408 - Python - YouTube
08:46
3714. Longest Balanced Substring II | Leetcode Daily - Python - ...
07:38
3713. Longest Balanced Substring I | Leetcode Daily - Python - YouTube
LeetCode
leetcode.com โบ discuss โบ general-discussion โบ 4582934 โบ 10-most-important-string-questions-for-interview-preparation
10 most important string questions for interview preparation - ...
Regular Expression Matching: Implement regular expression matching with support for '.' and '*'. https://leetcode.com/problems/regular-expression-matching/ Edit Distance: Determine the minimum number of operations required to convert one string into another, where operations include insert, delete, and replace.
LeetCode
leetcode.com โบ problems โบ scramble-string
Scramble String - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
LeetCode
leetcode.com โบ problems โบ longest-happy-string
Longest Happy String - LeetCode
Can you solve this real interview question? Longest Happy String - A string s is called happy if it satisfies the following conditions: * s only contains the letters 'a', 'b', and 'c'. * s does not contain any of "aaa", "bbb", or "ccc" as a substring. * s contains at most a occurrences of the letter 'a'. * s contains at most b occurrences of the letter 'b'. * s contains at most c occurrences of the letter 'c'. Given three integers a, b, and c, return the longest possible happy string.
LeetCode
leetcode.com โบ problems โบ reverse-string
Reverse String - LeetCode
Reverse String - Write a function that reverses a string. The input string is given as an array of characters s. You must do this by modifying the input array in-place [https://en.wikipedia.org/wiki/In-place_algorithm] with O(1) extra memory.
LeetCode
leetcode.com โบ explore โบ learn โบ card โบ array-and-string
LeetCode's Array and String.
LeetCode Explore is the best place for everyone to start practicing and learning on LeetCode. No matter if you are a beginner or a master, there are always new topics waiting for you to explore.
LeetCode
leetcode.com โบ problems โบ decode-string
Decode String - LeetCode
Can you solve this real interview question? Decode String - Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times.
LeetCode
leetcode.com โบ problem-list โบ string-matching
String Matching - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
LeetCode
leetcode.com โบ discuss โบ post โบ 2001789 โบ Collections-of-Important-String-questions-Pattern
Collections of Important String questions Pattern - Discuss - LeetCode
https://leetcode.com/problems/additive-number Medium 4.https://leetcode.com/problems/buddy-strings Easy 5.https://leetcode.com/problems/longest-happy-prefix Hard 6.https://leetcode.com/problems/increasing-decreasing-string Easy 7.https://leetcode.com/problems/check-if-a-string-can-break-another-string Medium 8.https://leetcode.com/problems/determine-if-two-strings-are-close Medium 9.https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent Easy 10.https://leetcode.com/problems/check-if-word-equals-summation-of-two-words Easy 11.https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal Easy
LeetCode
leetcode.com โบ problems โบ find-all-good-strings
Find All Good Strings - LeetCode
Then there are 25 good strings ... "leetcode", s2 = "leetgoes", evil = "leet" Output: 0 Explanation: All strings greater than or equal to s1 and smaller than or ......
LeetCode
leetcode.com โบ problems โบ find-the-index-of-the-first-occurrence-in-a-string
Find the Index of the First Occurrence in a String - LeetCode
Can you solve this real interview question? Find the Index of the First Occurrence in a String - Given two strings needle and haystack, return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Input: haystack = "sadbutsad", needle = "sad" Output: 0 Explanation: "sad" occurs at index 0 and 6. The first occurrence is at index 0, so we return 0. Example 2: Input: haystack = "leetcode", needle = "leeto" Output: -1 Explanation: "leeto" did not occur in "leetcode", so we return -1. Constraints: * 1
LeetCode
leetcode.com โบ problems โบ string-matching-in-an-array
String Matching in an Array - LeetCode
Can you solve this real interview question? String Matching in an Array - Given an array of string words, return all strings in words that are a substring of another word. You can return the answer in any order.
LeetCode
leetcode.com โบ problems โบ find-and-replace-in-string
Find And Replace in String - LeetCode
Can you solve this real interview question? Find And Replace in String - You are given a 0-indexed string s that you must perform k replacement operations on. The replacement operations are given as three 0-indexed parallel arrays, indices, ...
LeetCode
leetcode.com โบ problems โบ add-strings
Add Strings - LeetCode
Add Strings - Given two non-negative integers, num1 and num2 represented as string, return the sum of num1 and num2 as a string. You must solve the problem without using any built-in library for handling large integers (such as BigInteger).
LeetCode
leetcode.com โบ problems โบ isomorphic-strings
Isomorphic Strings - LeetCode
Isomorphic Strings - Given two strings s and t, determine if they are isomorphic. Two strings s and t are isomorphic if the characters in s can be replaced to get t. All occurrences of a character must be replaced with another character while ...
LeetCode
leetcode.com โบ problems โบ score-of-a-string
Score of a String - LeetCode
Can you solve this real interview question? Score of a String - You are given a string s. The score of a string is defined as the sum of the absolute difference between the ASCII values of adjacent characters.
LeetCode
leetcode.com โบ problems โบ determine-if-two-strings-are-close
Determine if Two Strings Are Close - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.