I just wanted to know where i can apply the concept of linked lists, or what kind of program requires linked lists application. If any body can help me, I will appreciate.
I just wanted to know where i can apply the concept of linked lists, or what kind of program requires linked lists application. If any body can help me, I will appreciate.
A really fun use of dynamic data structures is to make a bunch of verbs as freight for the list. Let's keep it simple and consider graphics operations in the two space. The affine transformations correlate to multiplications by a matrix, so you probably wouldn't implement this particular case this way, but conceptually. . .
You could have verbs like scale, rotate, duplicate, stuff you might see in CorelDraw, say. By going through the list of verbs, acting upon a list of nouns, behaviors can be executed. Through insertion, we have something like 'behavioral DNA,' so rather complicated behaviors can be generated in a rather simple way.
This is a fairly good way to construct an L-grammar visualizer, for example.
A really fun use of dynamic data structures is to make a bunch of verbs as freight for the list. Let's keep it simple and consider graphics operations in the two space. The affine transformations correlate to multiplications by a matrix, so you probably wouldn't implement this particular case this way, but conceptually. . .
You could have verbs like scale, rotate, duplicate, stuff you might see in CorelDraw, say. By going through the list of verbs, acting upon a list of nouns, behaviors can be executed. Through insertion, we have something like 'behavioral DNA,' so rather complicated behaviors can be generated in a rather simple way.
This is a fairly good way to construct an L-grammar visualizer, for example.