Question
A _______ operation may give access to the top without
modifying the stack.Solution
In computer science, a stack is an abstract data type that serves as a collection of elements, with two principal operations: push, which adds an element to the collection, and pop, which removes the most recently added element that was not yet removed. The order in which elements come off a stack gives rise to its alternative name, LIFO (for last in, first out). Additionally, a peek operation may give access to the top without modifying the stack.
A invested Rs. ‘x’ in a scheme offering compound interest of 35% p.a. compounded annually. If at the end of 2 years, interest received by A was Rs. ...
If the difference between the simple interest and compound interest, compounded annually, received on a principal amount of Rs. 25000 at an interest rat...
- Mr. Arun invested Rs. x in Scheme 1 and Rs. x/4 in Scheme 2. The schemes offered simple interest at 7% p.a. and 12% p.a. respectively. If the interest earn...
A deposited Rs. 3500 at 35% per annum compound interest in scheme A for 2 years. After 2 years, he deposited total amount at 10% simple interest per ann...
The difference between the compound interest and simple interest accrued over 2 years is Rs. 4,500 when a principal amount is invested at an annual inte...
- A sum is invested at a certain rate (p.a.) of compound interest (compounded annually). The interest earned after 1st year and after 2 years of investment i...
At a simple interest rate of 20% per year for three years, 'P' invested Rs. 'p + 250', and for two years, Rs. 'p + 500' at a simple interest rate of 30%...
At the rate of any compound interest rate, it gets tripled in 4 years, in how many years it will become 729 times its own?
What would be the annual interest accrued on a deposit of Rs.24,550 in a bank that pays a 22% per annum rate of simple interest?
Mr. X deposits ₹10,000 at a simple interest rate of 8% per annum for 4 years. After 2 years, he invests an additional ₹12,000 at the same rate for 3...