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


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

Post New Answer

More AI Algorithms Interview Questions

list the types of linked list with aid of diagram?

0 Answers  


Which algorithm is used for solving temporal probabilistic reasoning?

0 Answers  


can anyone help me with some suggestions and improvemnts for sage line 50?

0 Answers  


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

0 Answers   Expedia,


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.

0 Answers  






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

0 Answers  


Which is the most straight forward approach for planning algorithm?

0 Answers  


A* algorithm is based on which search method?

0 Answers  


what is software cycle?give a diagramatic representation

0 Answers  


Consider the following algorithm: j = 1 ; while ( j <= n/2) { i = 1 ; while ( i <= j ) { cout << j << i ; i++; } j++; } (a) What is the output when n = 6, n = 8, and n = 10? (b) What is the time complexity T(n)? You may assume that the input n is divisible by 2.

1 Answers  


There are numbers from 1 to n, which are inverted such that it results in numbers from n to 1. If only two consecutive numbers are stampled at a time and are inverted, how many moves are required?

1 Answers   IBM, TCS,


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

0 Answers   Tech Mahindra,


Categories