Question No: 226
Consider the paths of length that follow the lines from the lower left corner to the upper right corner on an grid. Find the number of such paths that change direction exactly four times, as in the examples shown below.
Answer must be a floating-point or integer value and precision error less than 10^-6 is allowed.