C++ Program to Illustrate Usage of List

This C++ program illustrates usage of list. The std::list class is a container that provides constant time insertion removal of elements from anywhere in the list but fast random access is not supported by list. This list supports bidirectional iteration and is usually implemented as a doubly linked list. Here is the source code of … Read more

advertisement

C++ Program to Illustrate Usage of Deque

This C++ program illustrates usage of deque. Deques is acronym for double-ended queues with dynamic sizes that can be expanded or contracted on both ends. It provides efficient insertion and removal at both of its ends but unlike vectors, the elements are not stored in contiguous storage locations. Here is the source code of the … Read more

advertisement

C++ Program to Illustrate Usage of Bitset

This C++ program illustrates the usage of bitset. The bitset stores bits in the form 1s and 0s which emulates true and false. This class is optimized for space allocation and each of element of it occupies only one bit. The program uses several common bitset operations and functions. Here is the source code of … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.