Intuit Interview Question

find the position in 1-0 rectangle