Given a string containing digits and special characters, count the special characters. If the count is odd, arrange all odd digits followed by even digits alternatively; if even, start with even…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.