Currently, I was still in school and am engaged in a class on the implementation of data structures in C ++. In my free time, I like to program in higher-level languages (mostly Ruby with some C #).
So, since these higher-level languages manage memory for you, what will you use data structures for? I can understand the need for queues and stacks, but will you ever need to use a binary tree in Ruby? or 2-3-4 trees? Why?
Thanks.
So, since these higher-level languages manage memory for you, what would you use data structures for?
- . , . , , . , .
, ( 100% , ), , .
. , .
, - Ruby?
, , , huffman.
trie, btree. . , , .
, . . , LINQ, . , .
Python ( Ruby) - - . , . , () ; ( ) , , , .
, .
, GC , , ( ) .
, - , , . . , , , , , , , .
Java , () Collections, .
, , . , , GC'd , , , - .
, ; .
, . ..
, , , , (, ). , - , , . (, ..).
Ruby, , , - ( .)
, , , , "", . , , , .
, . , . . , , . " " .