Had this experience at an elite uni as well for math courses. At the time I felt like it pushed me to really grow, and it was absolutely necessary to do well in that specific course (tests often had questions that ~required you to know how to do all the uber-hard homework problems), but I wonder what the research actually says about this sort of homework vs your more standard variety.