Topic: Greedy Algorithm Problem / Level: intermediate

Problem: You are given a string consisting of letters and digits. Reorganize the string such that no two adjacent characters are the same.

Run the code to see the output here...