A HackerRank coding assessment, 1 question, 120 minutes. I developed and debugged the code in Visual Studio 2022, and then copied it into HackerRank. It wouldn't compile and showed a lot of warnings and errors even in the boilerplate part of the code. I spent about 15 minutes trying to understand the reason for this errors. When I figured out that the HackerRank environment uses .net6 (and I was using .net 8), I had only 3 minutes left, so I didn't manage to rewrite my code to .net6 in time. I found out I had to use .net6 only when I started to click everywhere and found the information about the environment. The problem itself was interesting, but HackerRank is very frustrating as a coding environment. I'd rather provide a github repository with my solution.
Reviewing my solution after the assessment, I found some bugs, so it would take me about 4 hours to complete this assessment instead of provided 2 hours.