Search Interview Questions
Question: Please Give the example of bruteforce algorithm?
Answer: Selection sort can be one of the examples of brute force algorithm...
Algorithm Selectionsort(a[0...n1])
for i<0 to n2 do
min < i
for j < i+1 to n1 do
if A[j]< A[min] min <j
swap A[i] and A[min]


Question: Please Give the example of bruteforce algorithm?
Answer: Selection sort can be one of the examples of brute force algorithm... Progam to check if a given number is a prime number is a brute force algorithm. If you have the better answer, then send it to us. We will display your answer after the approval Rules to Post Answers in CoolInterview.com:

Related Questions  
State the problems which differentiate between recursive procedure and nonrecursive procedure? 


Explain the depth of recursion? 


Explain about procedural body and computation boxes? 


How can an inductive definition be realized? 


State recursion and its different types? 


Define and describe an iterative process with general steps of flow chart? 


Given a system of N equations whose coefficient matrix A is triangular and is stored in a vector R and the right hand side vector B, this algorithm obtains the solution vector X. Sum is a temporary variable. I am M are integer variables. How to follow the algorithm? 


In Algorithmic context how would you define ?book keeping operations?? 


Explain the function SUB in algorithmic notation? 


What are the arguments present in pattern matching algorithms? 


Define string in an algorithmic notation and an example to support it? 


What are the two ways through which the Markov algorithm terminates? 


What is the general strategy for Markov Algorithm? 


The most basic tool used to express generating functions in closed form is the closed form expression for the geometric series, which is an expression of the form a+ar+ar2++arn. It can either be terminated or extended indefinitely. What are the restrictions for this geometric series? 


Name any three skills which are very important in order to work with generating functions. 


Explain about the algorithm ORD_WORDS? 


Explain the function of KWIC_Create? 


What is the general algorithm model for any recursive procedure? 


Give the difference of format between an algorithm and a sub algorithm? 


Define and state the importance of sub algorithm in computation and its relation ship with main algorithm? 

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com  Best Freshers & Experienced Jobs Website.
View All Algorithm Interview Questions & Answers  Exam Mode / Learning Mode
India News Network 