Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This is definitely the most elegant one
This comment is hidden because it contains spoiler information about the solution
Because it's a best practice, see the C++ Core Guidelines.
Why the random change to pass the input by const reference? lol
This comment is hidden because it contains spoiler information about the solution
This would really benefit from using a for loop instad of a while loop
You seem to be implying this is wrong, but actually, it's correct up to n==300.
Not only that, but for all inputs in that range it features O(1) complexity
This is literaly the PERFECT solution
Companies be like:"Here is our enterprise, cutting edge, sudoku checking solution following SOLID principles"
Not saying that's a bad thing tho
This is the equivalent of including the schematics of an oven in the recipe for a cake
Pretty clever nevertheless