NeoSOFT interview question

1. Find nth smallest number from given array