Given a list of integers, rearrange the elements such that all multiples of 10 appear first, followed by all non-multiples of 10. Preserve the relative order of elements within each group if possible.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.