Question
In the design and analysis of algorithms, which of the
following algorithms is based on the greedy approach?Solution
Dijkstra’s algorithm is based on the greedy approach, which selects the locally optimal solution at each step with the goal of finding the shortest path from the source to all other vertices in a graph. The algorithm repeatedly picks the nearest unvisited vertex and calculates the shortest path to all its neighbors, ensuring optimal solutions for each subproblem. Merge Sort : A divide-and-conquer algorithm, not greedy. Depth-First Search : DFS is a traversal technique, not a greedy algorithm. Bellman-Ford Algorithm : This algorithm can handle negative weight edges, but it is not based on the greedy approach. Quick Sort : A divide-and-conquer algorithm, not greedy.
A company can raise funds in the nature of owned or borrowed capital, through various financial instruments. Which of the following financial instrument...
Consider the following Statements about International Financial Centres and choose the option with correct Statements.
I- In India, we cannot ...
How much funds is targeted for the animal husbandry, Dairy, and Fisheries Sector?
How many financial centres are evaluated in the GFCI 36 report?
The Central Government may pass orders to remove difficulties under IFSCA Act within a period of ………….. from the commencement of this Act
...How much did Union Bank of India commit to measure in terms of financed emissions through its signing of the PCAF in 2024?
What was the total amount mobilized by the SME sector through IPOs in FY 2023-24, as reported in the SEBI Annual Report 2023-24?
Under the IFSCA Listing Regulations 2024, which of the following bodies is authorized to approve ESG-labelled debt securities?
Which of the following is a discount instrument in the Indian money market?
What restriction is placed on BATF Service Providers regarding their business operations in relation to Indian Group Entities, according to the IFSCA (B...