Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
stringname.splitlines()
So, the way it is presented, maze is the string variable that holds the maze. If you create a list called splitmaze, for example, you could:
splitmaze = maze.splitlines()
same
apparently omitting var is very bad practice in the js, gotta lay off the python
You asked what's BFS/DFS. You don't want the explanation.
You didn't ask for "input" (neither specify what you mean by this). You want to receive some "input".
What?
I was actually hoping for someone to provide original input and enrich the conversation
DFS, BFS
I don't mean to hijack the thread but what are DFS and BFS, some kind of standard pathfinding algorithms?
Is there a better/faster way to flatten the string into a list of integers?
I could not make python strip the newline characters and use list comprehension
You're my hero. I really need to get comfy with bitwise operations.
I just went around that by using // since we know it's always even
By the way that formula was bloody hard come up with
I find it elegant because of the single loop which does remind me of actual tape :)
It's a bit hard to follow exactly what is going on tho :)
Yeah, I wish it had asked for a few hundred thousand random ones up to a million instead :)
@FArekkusu - A simple "No, I'm sorry if it seemed that way" would have gone much further than another point by point tirade.
I don't mind being corrected and I don't mind admitting when I'm wrong so long as the conversation remains friendly.
I can define "python programmer" as a programmer who does Python.
I can't define "normal programmer". Could you explain what or who a "normal programmer" is?
I'm sure I haven't said anything offensive to you...
In my previous comment I have stated that you're incorrect about "multiple dict look-ups" and stated my opinion about
[::-1]
andreversed()
. If you think I was correcting you, then I can't help in any way ¯\_(ツ)_/¯On the first point - I will have to time that before I believe it.
On the second one - how about a normal programmer?
TBH I'm getting a little tired of hearing python has a special way to do X
@FArrekusu - is there some kind of animosity between us? You seem to be going out of your way to correct me and not being overly polite about it.
Loading more items...