Sort unique positive integers (C)
This problem is from Programming Pearls in Chapter 1.