Assume you have an array of N elements A[N].
Q1: write an algorithm to sort the array inO(n.log.n)
Q2: Write an algorithm to search an element of the array inO(n)
Q3: Write an algorithm to search an element of the array inO(log.n)
Expert Answer
An answer will be send to you shortly. . . . .