Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes

Leetcode: Number of Islands - BFS (Queue vs Recursion)

Performance Figures First of all, regarding these figures in milliseconds. They can be useful, to indicate whether something is wrong with the algorithm, but they can hardly be considered accurate. ...
Alexander Ivanchenko's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible