Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 559 Bytes
[movement-along-a-path]
(1) Follow the path from 'o' to 'x':
o---| |--| |--|
|--| | |-| |
|-----| |-| |-|
|---x |------|
> lllljlllkllljjllkllkllljjhhjhhhhhhhkhhhhhhjllll
(2) Follow the path from 'o' to 'x':
o-| |-| |--| |--|
|-| ||-| | | |
|----||--| | |x-|
|--------| |-|
> lljllklljjhhhhhjlllllllllkhhhkllkllljjjllkkkllljjhh
[move-and-delete]
(1) Delete the .'s in the following lines:
.*..*.***.*
***.**.*.**
> xlxxlxlllxjhhxllxlx
(2) Delete the .'s in the following lines:
***.**.*.**
.*..*.***.*
> lllxllxlxjhxhhxhxhhxlllllx