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.
Can't see why not. In an interview they give you a problem, your job is to find a solution for it and just that.
They maybe could ask why you used that approach, but from my perspective, bear in mind I'm NOT a recruiter, any other things beyond that are irrational.
This comment is hidden because it contains spoiler information about the solution
Excuse me, that code used
set
for avoiding of same results.But heapified list founds min faster.
What storage is better for that task?
Use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Before programming 2D matrices, I also preffered Cartesian (x,y) instead of i,j, where i - row, j - column.
This comment is hidden because it contains spoiler information about the solution