Question
You are tasked with implementing a search feature for a
large, constantly changing dataset where the order of elements doesn't matter, but fast lookups are crucial. Which data structure would be the most appropriate choice?Solution
Hash Set/Map: Offers average O(1) time complexity for lookups, insertions, and deletions, making it ideal for fast operations on dynamic datasets where order is not important. Â Â Sorted Array: Fast lookups (O(log N)) but slow insertions/deletions (O(N)). Â Â Binary Search Tree: O(log N) average for all operations, but can degrade to O(N) in worst case (unbalanced). Â Â Queue/Stack: Not designed for efficient searching.
When did Financial Stability Board come into existence?
A company invests in different assets simultaneously in order to reduce risks. What is this strategy called?
Delta is a measure of ______
Flexible Budget is a budget with which features?
A bank certificate issued in more than one country for shares in a foreign company. The shares are held by a foreign branch of an International Bank. Th...
What does the BRSR Core represent?
Micro Finance Development and Equity Fund is administered by:
A ___________ is an agreement between two parties to exchange cash flows on a determined date or in many cases multiple dates.
Which of the following statements is/are correct regarding Derivatives in India?
1)Â Â Â Â Â Derivatives are financial instruments that deriv...
An investor enters into a long position in one Nifty Future contract (Lot Size = 50) at a price of ₹24,000. The broker mandates an Initial Margin of...