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.
King Richard's Knights
King Richard's Knights
Sort by
recency
|
29 Discussions
|
Please Login in order to post a comment
detailed explaination and full java code: https://github.com/Lhhiep-maxcode/DSA
Here is my solution in java, javascript, python, C, C++, Csharp HackerRank King Richard’s Knights Solution
Here is the solution of King Richard's Knights Click Here
My solution in rust:
https://github.com/fhdiaze/rustuff/blob/main/src/main.rs
I just solved this problem, but in a different way than editorial. Time complicity is O(L log S) same as editorial.
My approach was based on these points: