---
title: "Discussion on \"1704. Determine if String Halves Are Alike\" | Hashnode"
description: "Discussion on \"1704. 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 the first half and b be the second half.\nTwo strings are alike if they have the same number of vowels ('a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', '..."
url: "https://hashnode.com/posts/1704-determine-if-string-halves-are-alike/6565affbee23955f64effeaa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [1704\. Determine if String Halves Are Alike](https://sirishachallagiri.hashnode.dev/1704-determine-if-string-halves-are-alike?utm_source=hashnode&utm_medium=feed)

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 the same number of vowels ('a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', '...

Nov 28, 2023 · 4 min read · sirishachallagiri.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#java](https://hashnode.com/tag/java)
-   [#coding](https://hashnode.com/tag/coding)
-   [#string](https://hashnode.com/tag/string)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#different-methods](https://hashnode.com/tag/different-methods)

## Written by

[Sirisha Challagiri](https://hashnode.com/@Siri2316)

@Siri2316

  
[View profile](https://hashnode.com/@Siri2316)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
