i could not understand which sorting algorithm is used here? i can use bubble sort or another one?
Arrays-Help Rahul to search
hi @sarthak732 since any sort will take more time (O(n*logn)) ,than linear search… you should directly head towards searching… linear search will take O(n).
try and if you face a problem send your saved code.