hello guys, I 've just recently stated writing algorithms in Data structures. I want questions to write algorithms in array and linked list, please give me questions in that. The questions can be of difficulty level easy and medium. thank u.

Recommended Answers

All 2 Replies

doesn't your book have questions at the end of chapters?

Question: Easy: write a linked list of random integers that always keeps the data in sorted order.

Harder: Same as above but add ability to add additional numbers, delete a node, or modify an existing node (might have to mode the node to a different position in so that its in sorted order).

Write the linked list to a data file so that it can be read back when the program starts.

Member Avatar for I_m_rude

geeksforgeeks.org thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.