|
|
|
|
|
by dwc
3402 days ago
|
|
This wasn't stated as a test for Java programmers. Rather that most programmers chose to implement in Java because they were familiar with it. And you have to ask, if they were familiar with Java then why didn't they choose one of the idiomatic approaches you suggested? I mean, the "list" part is not an internal requirement so you could easily build a tree/node structure on input... |
|