Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SillyUsername
on June 21, 2024
|
parent
|
context
|
favorite
| on:
The Skyline Problem in Racket
Yes so I see your point, it'd need a pre-sort by height which is a double iteration of the arrays.
soegaard
on June 21, 2024
[–]
> 2) Repeat 1) choosing building by next height lower, unless lower building roof within range of an existing rendered roof x+width, then exclude that building from rendering.
How do you implement the unless-part?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: