How can you quickly find the number of elements stored in a a) static array b) dynamic array ?

Why is it difficult to store linked list in an array?
How can you find the nodes with repetetive data in a linked list?
Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable but aac or bed are unacceptable.
Write out a function that prints out all the permutations of a string.
 For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique.

0 comments:

Post a Comment

Blogger news