It is clear that there is a unique way to complete the top three
rows, as shown (start in the second square of the third row).
Thereafter it is possible to complete the fourth row with R
alternating and the fifth row
This problem is taken from the UKMT Mathematical Challenges.