Virtusa Interview Question

Q: Remove space from String. Q: Sort given array using any sortng algorithm.