Question
A seller sold an item at a loss of 25%. If he had sold
it for Rs. 1,500 more, then he would have earned a profit of 15%. Find the cost price of the item.Solution
ATQ, Let, the cost price of the item be Rs. '100x'. ATQ, Selling price of the item sold at 15% profit = 1.15 X 100x = Rs. (0.75 X 100x + 1500) Or, 115x = 75x + 1500 Or, 115x - 75x = 1500 Or, 40x = 1500 So, x = (1500/40) = 37.5 Therefore, the cost price of the item = 100x = 100 X 37.5 = Rs. 3,750
Which algorithm is used for constraint satisfaction problems?
Consider the following binary tree:
   5
   / \
  3  8
  / \ / \
 1 4 6 9
What is t...
Which type of memory is fastest in terms of data access speed? Â
Consider the following C++ code:
  class Base {
  public:
    void show() { std::cout << "Base::show" << std::endl;...
What is the primary disadvantage of using an array as a data structure?
Which NoSQL database is column-oriented and widely used in Big Data?
Which of the following data structures is most suitable for implementing a priority queue with efficient insertion and deletion operations based on prio...
Which of these is a primary benefit of cloud disaster recovery?
Which of these is a distributional representation for words?
In a perfectly balanced Binary Search Tree with N nodes, what is the worst-case time complexity for searching for an element?