Write an algorithm to traverse a knight covering all the squares on a chessboard starting at a particular point.
554A lot of questions were asked on sorting for eg. Best algorithm on the basis of number of swaps, number of comparisons etc.
DELL,
725Given a series of positive integers. Design an efficient algorithm that can detect pairs whose sum is equal to K such that K = ei + ej, and (i not equal to j).
542Given 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.
575Why size of integer depends on the machine architecture then what the best sorting algorithm and why?
562Post New AI Algorithms Questions
Tell me how do you choose an algorithm for a classification problem?
Why size of integer depends on the machine architecture then what the best sorting algorithm and why?
Explain the Canny's Algorithm.
What is bidirectional search algorithm?
what are the minimum requirements for statr testing?
Can you pick an algorithm. Write the psuedo-code for a parallel implementation?
When an algorithm is considered completed?
Write a code/algorithm to find the frequency of each element in an array?
What is the depth-first search algorithm?
Which is the most straight forward approach for planning algorithms?
Give an example of an O (n) algorithm and O (n*n) algorithm such that the algorithm is slower.
What is the breadth-first search algorithm?
What’s your favorite algorithm, & can you explain it into me in less than a minute?
What is local search algorithms?
Write an algorithm to traverse a knight covering all the squares on a chessboard starting at a particular point.