I’m not sure whether the Green Knight is based on a preexisting story, but this seems like something that would be in an episodic plot of BBC Merlin. I like how it makes you question what you’ll need to do to beat this guy, like his challenge is a riddle or sorts.