Question
A started a business with an investment of Rs.30000.
After few months B joined him with an investment of Rs.42000. If at the end of the year, they share the profit in the ratio of (A:B) 15:7, then find after how much time B joined the business?Solution
Let B invested for ‘m’ months. According to the question, => (30000 x 12)/(42000 x m) = 15/7 => m = 4 months So, the required time = 12 – 4 = 8 months
Which algorithm finds the shortest paths between all pairs of vertices in a weighted graph?
Which algorithm uses a “divide and conquer” strategy?
What is the time complexity of inserting an element in a heap?
Which of the following operations on a data structure refers to the removal of an element from the front of a queue?
Which graph traversal technique is commonly used for topological sorting?
A unique piece of information that is used in encryption.
Which of the following is NOT a characteristic of the Internet of Things (IoT)?
Which data structure gives amortized O(α(n)) time for union and find operations, where α is inverse Ackermann?
Which of the following is substring of “IXAMBEE”?
Which of the following sorting algorithms has the best worst-case time complexity?