Different approaches to solving one problem

 

v20240901