VibraXX
Live Quiz Arena
🎁 1 Free Round Daily
⚡ Enter Arena
HomeCategoriesLogic & PuzzlesQuestion
Question
Logic & Puzzles

If Dijkstra's algorithm encounters a node with an estimate matching its true shortest distance, which consequence follows for the monovariant?

A)Monovariant remains strictly increasing
B)Monovariant remains strictly decreasing
C)Monovariant oscillates unpredictably
D)Monovariant temporarily becomes constant

💡 Explanation

The monovariant in Dijkstra's algorithm represents the upper bound on the shortest-path estimate of unvisited nodes; because settled nodes have true shortest paths, the monovariant will always strictly decrease as new nodes are settled, therefore, the monovariant remains strictly decreasing rather than any other option.

🏆 Up to £1,000 monthly prize pool

Ready for the live challenge? Join the next global round now.
*Terms apply. Skill-based competition.

⚡ Enter Arena

Related Questions

Browse Logic & Puzzles