This article https://delizhang.blogspot.com/2015/04/the-formula-for-equicalent-resistance.html gives a formula for calculating the equivalent resistance of an arbitrarily complex circuit, and you can get the answer by following it without having to think about it.