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.
Hexagonal Grid
Hexagonal Grid
Sort by
recency
|
37 Discussions
|
Please Login in order to post a comment
~10 lines Python, 100%, cool bit things
If you figure out what the numbers mean I'll buy you a virtual coffee :D
Here is Hexagonal Grid problem solution - https://programs.programmingoneonone.com/2021/07/hackerrank-hexagonal-grid-problem-solution.html
My python3 example with O(n) complexity:
python3,
I worked up a solution in C++ but can someone tell if this is DP or not ??