Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
struct Node
int data;
struct Node *next;
To create email addı prepinsta and terms
struct Node *prev:
vold insertStart (struct Node head, int data)
// creating memory for heslinde
struct Node *newNode (struct Node) malloc (street (struct Node)
// assigning nimflode's next as the current head
// Assign dato & and nuke newNode's press Wutt
newNode->data data;
newNode->nest head newNode->prev= NULL;
// if list already had ftes()
// We need to make corrent head previous node as this new node
17 (head I NULL)
(*head)->prev = newNode;
change head to this seallate
head newNode:
void insertlast (struct Node head, data)
struct Node *newNode = (struct Node*) malloc (sizeof (stract Node)
newflode->data data;
newNode->next = NULL;
//need this if there node present in Sinked list at all-
(head NULL)
head newNode; newllode->prev NULL: return;
struct Node temp head;
// traverse till the lost, node while (temp->next - NULL)
tera temp->next;
// assign last hoce's hext to this new lode temp-ext newNode:
// assign this new Rode's previous to last node (teep) newNode->prev-temp;
vote display (struct Node "node)
struct Node ends printf(in Forward Directianon"); white (node 1 NULL)
printf (node->data); eit node: node node->next;
printf (in Backward strection while (end 1- NULL)
printf(">data); end end->prev
lat main ()
struct Node *head MULL
// Neot's aldress we need to change head insertStart (&head, 1); insertStart (head, 2); InsertStart (&head, 3);
InsertLast (shead, 10);
insertlast (&head, 20);
// no need for '' as head need not be changes
// enty doting traversal
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team