Answer:
<h3>°Tanguian</h3><h3>°kankahai</h3><h3>°kalinga</h3><h3>°ivatan</h3><h3>°isneg </h3><h3>°ifugao</h3><h3>°ibaloi</h3><h3>°Gaddang</h3><h3>°Aeta </h3>
<h2>Sana
<u>makatulong</u><u>.</u><u> </u></h2>
Sara Evans - A Little Bit StrongerSKIP
Survivor - Eye Of The TigerSKIP
Alicia Keys - Girl On FireSKIP
Drake - Started From The Bottom
The main asteroid belt in our solar system is the Kuiper belt near Neptune
Answer:
A Simple Solution is to sort the array in increasing order. The first two elements in sorted array would be two smallest elements. Time complexity of this solution is O(n Log n).
A Better Solution is to scan the array twice. In first traversal find the minimum element. Let this element be x. In second traversal, find the smallest element greater than x. Time complexity of this solution is O(n).
The above solution requires two traversals of input array.
An Efficient Solution can find the minimum two elements in one traversal. Below is complete algorithm.
Algorithm:
Explanation: