Google-Developer-Student-Club-CCOEW / Competitive-Programming-2023-GDSC-CUMMINS-X-GDSC-MMCOE

Welcome to the Hacktoberfest 2023 Competitive-Programming Cohort for Cummins College and MMCOE students! To request issue assignment, create a pull request, providing: 1. Full Name 🧑‍🎓 2.Email 📧 3.College ID (RNO) 🔢 4.Branch of Study.📚 5. Year 📆 .The Cummins College and MMCOE students' PRs will be considered only. Thank you!
9 stars 69 forks source link

Reorganize String #79

Closed saakshii12 closed 11 months ago

saakshii12 commented 1 year ago

Write code in the preferred language and attach output with it.

Given a string s, rearrange the characters of s so that any two adjacent characters are not the same.

Return any possible rearrangement of s or return "" if not possible.

Example 1:

Input: s = "aab" Output: "aba"

Example 2:

Input: s = "aaab" Output: ""

MOHIT-PANDEY215 commented 1 year ago

Hey @saakshii12 please assign this issue to me.

srushtikage commented 11 months ago

Hello Please assign this issue to me I want to work on it. Srushti Kage UCE2022531 Cummins College of Engineering for Women Second Year