Skip to content
TryAlgoViz
Algorithms
Articles
CS Fundamentals
Problems
Roadmap
Dashboard
Theme
Find the Smallest Divisor Given a Threshold — TryAlgoViz
Find the Smallest Divisor Given a Threshold
medium
Visualize
Description
Hints
Discussion
Visual examples
Example 1
Input
1
0
2
1
5
2
9
3
threshold
6
Output
5
Python
Reset
Run
Ctrl+Enter
Loading editor…
Test Case 1
Input
1
0
2
1
5
2
9
3
threshold
6
Visualize
Expected Output
5