scozv / algo-js

[obsoleted] has been moved to project Tango:
https://github.com/scozv/tango
GNU General Public License v3.0
2 stars 1 forks source link

mapped data structure should be same as the original data structrue #22

Open scozv opened 10 years ago

scozv commented 10 years ago

for instance:

array.map() returns another new array,

LinkedList.map() returns another LinkedList,

Tree.map() should also return another new Tree