6 kyu
Draw a street
61 of 71hibrahimag1
Loading description...
ASCII Art
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.
Quite a fancy kata of the ASCII art series, well done.
Thank you very much :)
You're very welcome.
Description should be language-agnostic, i.e, removal of function names (with C# translation approved ^^)
Hello there, any suggestion as to what I should change it to? It would be very helpful to me :) Thanks
This part -->
draw_street([(5, 9), (7, 13)])
should be replaced with something more generic in terms of input --> output since thefunctionmethod name for C# isDrawStreet
.I made some changes, would you please review? Thanks
Nice, thanks
It's not 6 kyu. Very hard for 6 kyu. IMHO.
You should study some of the solutions and you will notice you can use a generic strategy for solving most of these ascii art kata's.
C# Translation
Somebody approved :)
Hi,
The descrition should be explicit about what happens "on the right" when the last buildings are smaller than previous ones. What I mean is: is the output a jagged array/multiline string (thinking about the update to come), or is that a rectangular array/multiline string?
Cheers
Hello, I'm not really sure what you are asking, could you provide an example or something? Thanks.
I think B4B meant to say that:
the description should explain whether the sequence of widths and heights are guaranteed to be in ascending order (that is from lowest to highest) If so, description, sample and fixed tests should give such examples (such as ->
[(4,5),(9,11),(6,8)]
)a concrete example, using dots instead of spaces (ignoring the lights: I didn't correct their positions):
the description should make explicit that the output is:
and not:
Please review and approve :)
.
Splendid kata ^^
Thank you very much :)
(splendid) translation awaiting approval ... whistling
Hi there, I would gladly approve the translation. Sadly, I do not know any C#, that's why I asked for someone to review it for me on Discord. Nobody answered :( Thanks
Thx for asking. Sad times for C# translators, except for others, since I approve their translations :)