Question
Select the option that is related to third letter-
cluster in the same way as the second – letter cluster is related to the first letter- cluster. LAPTOPS: PWTXKTW:: ORANGES: ?Solution
The consonants are written as their fourth succeeding letter and the vowels are written as their fourth preceding letter. L + 4 = P A – 4 = W P + 4 = T T + 4 = X O – 4 = K P + 4 = T S + 4 = W Similarly, O – 4 = K R + 4 = V A – 4 = W N + 4 = R G + 4 = K E – 4 = A S + 4 = W
Which algorithm guarantees minimum spanning tree and will produce a different tree depending on tie-breaking?
Which of the following is NOT a divide-and-conquer algorithm?
Which data structure gives amortized O(α(n)) time for union and find operations, where α is inverse Ackermann?
Which of the following sorting algorithms is considered stable (i.e., preserves the relative order of equal elements)?
In the context of searching, what is the primary advantage of using hashing?
Output of below code
public class Prg {
public static void main(String args[]){
System.out.print("A" + "B" + 'A');
}
...A directed acyclic graph (DAG) has 10 vertices and 15 edges. What is the maximum possible number of topological orderings?
Which shortest-path algorithm is appropriate for graphs with non-negative weights and supports decrease-key efficiently for faster performance?
In mobile computing, what is the main feature of pervasive computing?
Consider the following Python code snippet for binary search:
  def binary_search(arr, target):
    low = 0
    ...