Why size of integer depends on the machine architecture then what the best sorting algorithm and why?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More AI Algorithms Interview Questions

What features would you use to build a recommendation algorithm for users?

0 Answers   Twitter,


When an algorithm is considered completed?

0 Answers  


Consider the following algorithm, where the array A is indexed 1 through n: int add_them ( int n , int A[ ] ) { index i , j , k ; j = 0 ; for ( i = 1 ; i <= n ; i++) j = j + A[i] ; k = 1 ; for ( i = 1 ; i <= n ; i++) k = k + k ; return j + k ; } (a) If n = 5 and the array A contains 2, 5, 3, 7, and 8, what is returned? (b) What is the time complexity T(n) of the algorithm?

0 Answers  


Tell me how do you choose an algorithm for a classification problem?

0 Answers  


Given a sorted array of n integers that has been rotated i(unknown) number of times, give a (log n) algorithm that finds an element in the array.

0 Answers   Expedia,






Sorting algorithms and time complexity of various algorithms.

0 Answers   InterGraph,


Explain the concept behind dead lock avoidance, banker's algorithm.

0 Answers   HPCL, Hughes Systique Corporation,


Can you pick an algorithm. Write the psuedo-code for a parallel implementation?

0 Answers  


Write the Shortest path algorithm for a graph.

1 Answers   Tech Mahindra,


Which search algorithm will use a limited amount of memory in online search?

0 Answers  


What do you mean by overfitting and underfitting algorithms?

0 Answers  


Write an algorithm to traverse a knight covering all the squares on a chessboard starting at a particular point.

0 Answers   Amazon,


Categories