As an interviewee, I always ask how these questions relate to my day-to-day on the job. Did ChatGPT ask you this? IMHO, this only shows that these kind of "technical interviews" are not suited to find great employees, but coding-machines.