Question
What is the worst-case time complexity of inserting n
elements into an empty linked list, if the linked list needs to be maintained in sorted order? More than one answer may be correct. [GATE CSE 2020]Solution
The correct answer is C
Tanya and Varun invested βΉ26,000 and βΉ26,000 respectively at the beginning of a year. For the next six months after the first month Tanya kept on ad...
Amit and Rohit started a business by investing in the ratio 4 : 3, respectively. After 8 months, Amit withdrew 25% of his investment, whereas Rohit incr...
A and B started a business with investments in the ratio of 10:11 respectively. If after 2 year, the profit earned by A is Rs. 1880, then find the total...
A, B and C enter into a partnership, A invest 2y + 5000, B invest y+ 15000 and C invest 5y + 2000 for one year if B share is 10000 from total profit of ...
A, B and C invest in a partnership in the ratio 7:4:9 and investment of A is Rs.200 less than investment of C. Partner B invests for 1/5th and A and C i...
Three partners βAβ, βBβ and βCβ started a business by investing in the ratio 4:6:7 respectively and the ratio of time for which they made th...
Anna and Ben initially invested Rs. 12,500 and Rs. 15,000 in a business venture. Six months into the business, Anna added another Rs. 2,500 to her inves...
βAβ, βBβ and βCβ entered into a partnership by making investments in the ratio 5:3:9, respectively. At end of the year, if the difference be...
Ashish started a business by investing Rs. 4900. Few months later; Ramesh joined him by investing Rs. 5600 such that at the end of the year, the profit ...
A, B and C hired a taxi for Rs. 820 and used it for 9, 13, 19 hours respectively. Hiring charges paid by B are: