AI Algorithms Interview Questions
Questions Answers Views Company eMail

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

Amazon,

554

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

HPCL, Hughes Systique Corporation,

567

Explain the Canny's Algorithm.

Adobe,

571

A lot of questions were asked on sorting for eg. Best algorithm on the basis of number of swaps, number of comparisons etc.

DELL,

725

Define Routing Algorithm?

Maveric,

584

Give a general algorithm for converting a m-array tree to a 2-ary tree.

Tech Mahindra,

599

Give an example of an O (n) algorithm and O (n*n) algorithm such that the algorithm is slower.

Aspiring Minds,

571

Given 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).

Expedia,

542

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.

Expedia,

575

Sorting algorithms and time complexity of various algorithms.

InterGraph,

572

What are the complexities of sorting algorithms and how can this complexity be calculated?

Tech Mahindra,

597

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

HPCL, Hughes Systique Corporation,

562

Write a code/algorithm to find the frequency of each element in an array?

ITC Indian Tobacco Company,

534

Write the Shortest path algorithm for a graph.

Tech Mahindra,

1 1096

What is the most efficient way to store 1 million phone numbers memory-wise?

Aspire, Infogain,

1309


Post New AI Algorithms Questions

Un-Answered Questions { AI Algorithms }

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

464


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

562


Explain the Canny's Algorithm.

571


What is bidirectional search algorithm?

681


what are the minimum requirements for statr testing?

2212






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

499


When an algorithm is considered completed?

1214


Write a code/algorithm to find the frequency of each element in an array?

534


What is the depth-first search algorithm?

567


Which is the most straight forward approach for planning algorithms?

580


Give an example of an O (n) algorithm and O (n*n) algorithm such that the algorithm is slower.

571


What is the breadth-first search algorithm?

515


What’s your favorite algorithm, & can you explain it into me in less than a minute?

796


What is local search algorithms?

569


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

554