Question
Marked price of an article is Rs.220 more than its cost
price. If profit earned is equal to the discount given then find the profit earned?Solution
According to the question, => CP + P = MP – D => P + D = MP – CP => 2P = 220 => P = 110
Worst case is the worst case time complexity of Prim’s algorithm if adjacency matrix is used?
In dynamic programming, overlapping subproblems and _________ are key properties.
Which of the following SQL queries is used to remove a table from a database?
In Database Management Systems, what is the primary purpose of normalization?
The amortized time for inserting into a dynamic array (like C++ vector) is:
Output of below code
public class Prg {
public static void main(String args[]){
System.out.print("A" + "B" + 'A');
}
...Which is not true about minimum spanning tree?
What is the default replication factor in HDFS?
The minimum number of edges in a connected graph with n vertices is:
In Data Structures, which of the following algorithms uses the Divide and Conquer strategy?