Write an algorithm to traverse a knight covering all the squares on a chessboard starting at a particular point.
1042A lot of questions were asked on sorting for eg. Best algorithm on the basis of number of swaps, number of comparisons etc.
DELL,
1294Given 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).
995Given 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.
1312Why size of integer depends on the machine architecture then what the best sorting algorithm and why?
1044Post New AI Algorithms Questions
Consider the following algorithm: for ( i = 2 ; i <= n ; i++) { for ( j = 0 ; j <= n) { cout << i << j ; j = j + floor(n/4) ; } } (a) What is the output when n = 4 (b) What is the time complexity T(n). You may assume that n is divisible 4.
How does deep learning contrast with other machine learning algorithms?
What do you mean by overfitting and underfitting algorithms?
Tell briefly about the Banker's algorithm and what is it used for?
What is simulated annealing algorithm?
Explain the Canny's Algorithm.
can anyone help me with some suggestions and improvemnts for sage line 50?
Draw a flowchart to find the average of four number?
Tell us why is naïve bayes machine learning algorithm naïve?
Give an algorithm for the following problem. Given a list of n distinct positive integers, partition the list into two sublists, each of size n/2, such that the difference between the sums of the integers in the two sublists is minimized. You may assume that n is a multiple of 2.
What are the disadvantages of depth-first search algorithm?
Give a general algorithm for converting a m-array tree to a 2-ary tree.
Explain the concept behind dead lock avoidance, banker's algorithm.
When an algorithm is considered completed?
Which language is used for artificial intelligence?