How many paths are there from A to B that consist of 5 horizontal segments and 5 vertical segments of length 1 each? (see figure)
https://cdn.artofproblemsolving.com/attachments/4/2/5b476ca2a232fc67fb2e2f6bb06111cab60692.png combinatoricscombinatorial geometry