← Back to Hub

🏰 Cave of Floors

Find the Floor - Largest Value ≤ K

Steps
0
Target K
?
Current Answer
-
Status
Searching
Left: 0 Mid: 0 Right: 0

📚 Floor Function with Binary Search

The floor of K in a sorted array is the largest element ≤ K.

📋 Search History