Learn logic and coding with the help of source code available here. Enhance your programming skills by practicing. You should try to code yourself, if you are stuck some where, then you should take help from others. If you have any queries or suggestion please feel free to comment...... Thank You!
Wednesday, 11 March 2015
Tuesday, 10 March 2015
Implementation of doubly linklist in c++
CREATION OF DOUBLY LINKEDLIST
In computer science, a doubly-linked list is a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains two fields, called links, that are references to the previous and to the next node in the sequence of nodes. The beginning and ending nodes' previous and next links respectively, point to some kind of terminator, typically a sentinel node or null, to facilitate traversal of the list. If there is only one sentinel node, then the list is circularly linked via the sentinel node. It can be conceptualized as two singly linked lists formed from the same data items, but in opposite sequential orders.
Labels:
Data Structure CPP
,
doubly linked list
,
link list
Sunday, 8 March 2015
Stack implementation using array
Implementation of stack using array have methods
push(),pop(),reverse() and display.
How to make header of a program in c++
Create a header of your program c/c++
You can create your own header of your program, to which you can include in any other program by just enclosing in #include<"header">. By doing This you can access the methods of your created header in any programs .
Impementation of stack using linked list in c++
/*
Implementation of stack using linklist
Methods included are:
push();
pop();
reverse();
display();
topofstack();
@author: vikas bek
*/
Implementation of stack using linklist
Methods included are:
push();
pop();
reverse();
display();
topofstack();
@author: vikas bek
*/
Subscribe to:
Comments
(
Atom
)