Question
Find the LCM of the numbers 1.2, 0.8, 2.4, and
3.6.Solution
1.2, 0.8, 2.4, and 3.6. =12/10,8/10,24/10,36/10 LCM =LCM of nominator / HCF of denominator =72/10 =7.2.
What is the time complexity of inserting an element in a heap?
Which architecture allows multiple processors to share memory and work simultaneously?     Â
The time complexity of computing the all-pairs shortest paths in a dense graph with V vertices using Floyd–Warshall is:
Which data structure is used for implementing recursive function calls?
Which algorithm uses a “divide and conquer” strategy?
Which sorting algorithm has an average-case time complexity of O(n log n) and is known for its efficiency, often using a divide-and-conquer approach?
In dynamic programming, which principle ensures correctness by solving overlapping subproblems and storing results?
Which of the following is a critical concern for securing critical infrastructure?
Which algorithm guarantees minimum spanning tree and will produce a different tree depending on tie-breaking?
Consider the following Python code snippet for binary search:
  def binary_search(arr, target):
    low = 0
    ...