---
title: "Discussion on \"DSA Day 95/100\" | Hashnode"
description: "Discussion on \"DSA Day 95/100\". Topic: Strings\n1) Reverse Words in StringMedium\n\nInput: s = \"a good   example\"\nOutput: \"example good a\"\nExplanation: You need to reduce multiple spaces between two words to a single space in the reversed string.\n\npublic String reverseWords(String s) ..."
url: "https://hashnode.com/posts/dsa-day-95100/650c76f6ca930a017a147db7"
---

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

Discussion

# [DSA Day 95/100](https://preetikaprakash.hashnode.dev/dsa-day-95100?utm_source=hashnode&utm_medium=feed)

Topic: Strings 1) Reverse Words in StringMedium Input: s = "a good example" Output: "example good a" Explanation: You need to reduce multiple spaces between two words to a single space in the reversed string. public String reverseWords(String s) ...

Sep 21, 2023 · 1 min read · preetikaprakash.hashnode.dev  
Read the article

-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#geeksforgeeks](https://hashnode.com/tag/geeksforgeeks)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#strings](https://hashnode.com/tag/strings)

## Written by

[Preetika Prakash](https://hashnode.com/@preetikaprakash)

@preetikaprakash · India

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

Attempting #100DaysofCode challenge | Open Source Contributor

Attempting #100DaysofCode challenge | Open Source Contributor

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
