Hi!
Can anyone please share a possible solution to this problem — called knin (you can search for it in tasks, it is one of the bottom, maybe you need to zoom out to see it)
Note that the memory limit is unusually tight, you cant even keep a matrix to the problem`s board
Thanks a lot in advance!