Write an algorithm to traverse a knight covering all the squares on a chessboard starting at a particular point.
931A lot of questions were asked on sorting for eg. Best algorithm on the basis of number of swaps, number of comparisons etc.
DELL,
1186Given 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).
902Given 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.
1158Why size of integer depends on the machine architecture then what the best sorting algorithm and why?
918Post New AI Algorithms Questions
What is local search algorithms?
What is greedy best first search algorithm?
Explain the concept behind dead lock avoidance, banker's algorithm.
What is breadth-first search algorithm?
What are the complexities of sorting algorithms and how can this complexity be calculated?
A* algorithm is based on which search method?
What’s your favorite algorithm, & can you explain it into me in less than a minute?
Which search algorithm will use a limited amount of memory in online search?
Which algorithm in ‘unification and lifting’ takes two sentences and returns a unifier?
What is bidirectional search algorithm?
What is the bidirectional search algorithm?
Give an example of an O (n) algorithm and O (n*n) algorithm such that the algorithm is slower.
Tell briefly about the Banker's algorithm and what is it used for?
what is software cycle?give a diagramatic representation
What is iterative deepening depth-first search algorithm?