6 kyu
Challenge Fun #19: Black Hole
54 of 128myjinxin2015
Loading description...
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Description format is broken
Fixed.
Python new test framework
Approved
Hi, I wish to know how to solve this. Can someone help me please. A clue would be greatly helpful. or else can someone lead me to some tutorial which is similar to the problem. Thanks
You need to sketch with small n to find the rules.
Nice kata - looks like this challenge is bruteforce-able but crafting a constant time solution is so much pleasant :-D
Python translation published, waiting for approval.
Approved. Cheers O_o
Fixed.
You should also add a test case where the desired element is at the center as a fixed edge case ;-)
Five fixed cases added(center and corner):
I wonder why nobody has tried and solved this easy
6kyu
? ;-)Because the title is scary and you know how easily programmers get scared o_O
Well, I'm quite sure it's more tricky than easy. I'm stuck with it right now and I can't figure this out, but i will eventually.. Maybe people give up if the solution doesn't hit them in reasonable period of time.