piur imaging interview question

What is the difference between transformer and RNN architectures