Question
A and B entered into a business investing their capital
in the ratio of 15:22, respectively and the respective ratio of time for which they made their investment is 11:5 respectively. Find the total profit earned by A and B together, if profit share of A is Rs. 3540.Solution
Ratio of profit share of A to B = (15 × 11):(22 × 5) = 3:2 Desired Profit = 5/3 × 3540 = Rs. 5900
Which of the following correctly describes the primary difference between Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS)?
...What is the time complexity for inserting a node at the end of a singly linked list if you only have a pointer to the head?
Given a singly linked list with 'n' nodes, what is the time complexity to delete the last node?
Which of the following best describes the mechanism of a Cross-Site Scripting (XSS) attack?
What is "rubber duck debugging"?
What is the best-case time complexity of the binary search algorithm ?
If a stack is implemented using a fixed-size array, what is a significant disadvantage when the stack grows beyond its initial capacity?
KMP pattern matching avoids:
Which tree traversal gives nodes in non-decreasing order for a BST?
Suffix Trees are useful for: