Aug. 2, 2019, 6:38 p.m. |
+ 1 |
for Comment
evrur97: Cool idea - include zero and strip it out while building. Your use of j() for ' '.join had me runnin...
|
Nov. 23, 2017, 1:45 p.m. |
+ 1 |
for Comment
veky: Bresenham is cool, but overkill. You just need to see if a line intersects any of the four edges. Th...
|
May 28, 2016, 9:51 a.m. |
+ 1 |
for Comment
hoboceo: Respect the sorcerery in line 2,3.
|
May 28, 2016, 9:37 a.m. |
+ 1 |
for Comment
Dr-Turner_bac46582e10b45e1b070: Good answer. I didn't know about `abs()`
|
May 28, 2016, 9:31 a.m. |
+ 1 |
for Comment
kangnahua: Hi just want to thank you for your code. It's the most simplistic one and taught me how to use all()...
|
Oct. 30, 2015, 8:32 p.m. |
+ 1 |
for Comment
Sedfer: Nice idea to save only 1 row in DP.
|
July 23, 2015, 8:03 p.m. |
+ 1 |
for Comment
breeden.christopher: cool, pretty much the same thing i had, but shorter.
|
July 7, 2015, 7:05 p.m. |
+ 1 |
for Comment
CraigFranklin: That's got to be close to perfect.
|
April 14, 2015, 9:15 a.m. |
+ 1 |
for Comment
suic: Hi, I know that is an older solution. I suggest some cleanup: c = map(int, bin(c)[2:].zfill(len(w)))...
|
March 27, 2015, 2:43 p.m. |
+ 1 |
for Comment
Peter.White: I was thinking about using a dictionary, but being fairly new to the concept, I couldn't figure it o...
|
Feb. 11, 2015, 8:46 a.m. |
+ 1 |
for Comment
p1co: Wow, that is pretty impressive. Puts my 35 line solution to shame.
|
Jan. 28, 2015, 9:48 p.m. |
+ 1 |
for Comment
dagger126: This can rewrite set(a) <= set(b)
|
Jan. 21, 2015, 4:47 p.m. |
+ 1 |
for Comment
metallidog: Cool, I've never seen zfill() before. I'll add it to my library. Thanks.
|
Jan. 11, 2015, 10:28 p.m. |
+ 1 |
for Comment
suic: Hi, 3 little things: # connection = (connection, ) is redundant self.connections += (connection, ) #...
|
Sept. 24, 2014, 11:01 a.m. |
+ 1 |
for Comment
artemrudenko: Cool, small tips: for x in range(0,8): No need to specify 0 in range, e.g. can be replaced with: for...
|
July 31, 2014, 5:59 a.m. |
+ 1 |
for Comment
veky: Ok, first: Too. Many. Comments. Really. This is not C, where you write the code primarily for the pr...
|