Skip to content

Asymptotically faster solution for 17.23 (Max Square Matrix)#243

Open
Qualtagh wants to merge 3 commits intocareercup:masterfrom
Qualtagh:java_17.23_extra
Open

Asymptotically faster solution for 17.23 (Max Square Matrix)#243
Qualtagh wants to merge 3 commits intocareercup:masterfrom
Qualtagh:java_17.23_extra

Conversation

@Qualtagh
Copy link

@Qualtagh Qualtagh commented Dec 5, 2022

Hello!
The book is a real masterpiece. It helped me to understand a lot of algorithmic techniques. Inspired by it, I tried to continue improving some algorithms staying in the same vein of interview format - the solution should be short, simple to understand, readable and limited to using previously explained algorithms/data structures.
I hope it may help somebody by giving some ideas.

The commit contains:

  • an implementation of an alternative algorithm with better asymptotics for a task 17.23 - O(N2 * log N)
  • (kind of) unit tests
  • and a markdown file with thorough explanation of the approach. You can view it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant