Skip to main content

2 docs tagged with "Pinterest"

View All Tags

Reorganize String

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