We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Matrix Land
Matrix Land
Sort by
recency
|
13 Discussions
|
Please Login in order to post a comment
stupid dumbass question, my algo is O(n*m), a high multiple of n*m but the question still times out, and doesnt give enough memory. had to use a lot of push_back instead of create the storage vectors beforehand, and create storage on the heap to avoid memory issues
this pass all test and has no memory issues no time out
Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Matrix Land Problem Solution
Is it help me in my Laser Grading system to calculate and level the land in proper way.
Here is Matrix Land problem solution - https://programs.programmingoneonone.com/2021/07/hackerrank-matrix-land-problem-solution.html
C++ Solution