There are n holes in a line, and there is a rabbit hinding one of the holes you can look only one hole at a time and every time you look at a hole the rabbit jumps to adjacent hole find the rabbit
catch-the-rabbit problem and solution
There are n holes in a line, and there is a rabbit hinding one of the holes you can look only one hole at a time and every time you look at a hole the rabbit jumps to adjacent hole find the rabbit
catch-the-rabbit problem and solution