Skip to content
sneppets

sneppets

  • Privacy
smallest and largest number

Find Smallest and Largest Number in Unsorted Array – O(n) Time

December 5, 2018December 8, 2018 Editorial StaffLeave a Comment on Find Smallest and Largest Number in Unsorted Array – O(n) Time

Given an input array of integers, your goal is to find both smallest and largest number present in the array in an effective way. Note, you need to achieve this in O(n) time i.e., you should be able to find… Read More!

Algo, Java Algorithms, arrays, time complexity

Posts navigation

Newer posts
Copyright © 2018 Sneppets. All Rights Reserved