Question
Consider the array arr = [1, 2, 3, 4, 5] and the
following operations: 1. arr.insert(2, 9) (inserts 9 at index 2) 2. arr.pop(3) (removes element at index 3) What is the final state of the array arr after these operations?Solution
Initial: [1, 2, 3, 4, 5] 1. arr.insert(2, 9): [1, 2, 9, 3, 4, 5] (index 0=1, 1=2, 2=9, 3=3, 4=4, 5=5) 2. arr.pop(3): removes element at index 3, which is 3. Â Â Result: [1, 2, 9, 4, 5]
In Stand Up India Scheme “women, SC & ST category” will get e loans for greenfield enterprises in manufacturing, services or the trading sector and ...
________ % vacancies reserved for ex-Agniveers in the recruitment of Constables/Riflemen in Central Armed Police Forces and Assam Rifles?
The Central Theme Report database and publication are updated and published twice a year, usually in ___________.
MGNREGA has played instrumental role in providing safety net for the rural farmers of India. Which of the following can be associated with MGNREGA progr...
Prevention of Money Laundering Act, 2002 came into force with effect from?
The $170 million policy-based loan from the Asian Development Bank (ADB) to India aims to:
Who among the following can be the beneficiary of PM Kisan Maan Dhan Yojana?
Which of the following is/are True?
I- The Asian Infrastructure Investment Bank (AIIB) is a multilateral development bank with a mission to impro...
As per the provisions of the Sexual Harassment of Women at Workplace (Prevention, Prohibition and Redressal) Act, 2013, what is the maximum monetary pen...
A scheme “PM-eBus Sewa” for augmenting city bus operation by 10,000 e-buses on PPP model. The Scheme would have an estimated cost of Rs.57, 613 cr...