Students from schools across North Yorkshire have put their engineering skills to the test in a major technology challenge.