Constrained writing is a literary technique in which writers adhere to certain limits, patterns, or rules in their writing. For example, palindromes are sometimes used in poetry to create verses that can be read from the beginning to the end and vice versa.