Leetcode 1704. Determine if String Halves Are Alike
Posted on Wed 30 November 2022 in Leetcode • Tagged with string
Question Link : https://leetcode.com/problems/determine-if-string-halves-are-alike/
Difficulty: Easy
Premium: False
Question
You are given a string s of even length. Split this string into two halves of equal lengths, and let a be the first half and b be the second half. Two strings are alike if they have …
Continue reading