write 2 more code for Sorted Array