Question
Find the wrong number in the given number series.
12, 13, 68, 29, 220, 51Solution
2³ + 4 = 12
3² + 4 = 13
4³ + 4 = 68
5² + 4 = 29
6³ + 4 = 220
7² + 4 = 51 51 would be wrong; it should be 53
What is the best case time complexity of merge sort?
What is the best case time complexity of merge sort?
Fill in the correct option for 26 blank space.
When a large number of analog signal is to be converted to digital form, an analog multiplexer is used. The best suites analog to digital converter for ...
Consider three processes P1, P2, and P3 with burst times 10ms, 10ms, and 10ms respectively. If they arrive at time 0 and are scheduled using FCFS (First...
What problem does the Floyd-Warshall algorithm solve?
A C function print_matrix(int rows, int cols, int matrix[rows][cols]) is designed to print a matrix.
#include
void print_matrix(...
Consider the Quick Sort algorithm with the last element as the pivot. For the array [7, 2, 1, 6, 8, 5, 3, 4], what will be the state of the array *after...
Which of these techniques is primarily used for word embeddings?
Consider the following C++ code:
#include
class Base {
public:
  virtual void show() = 0;
};
cl...