Check if an hour glass is fully filled
Filed under Chargebee
The question
Given an hourglass pattern with n lines (n >= 5), write a function to return 1 if the bottom half is fully filled and 0 otherwise.
No write-up yet. Related questions below have one.
Related Chargebee questions
Collected from public candidate posts and coding forums. Updated Nov 2026.