10.09.2013 Views

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LECTURE NOTES OF ADVANCED DATA STRUCTURE (MT-CSE 110)<br />

adding or removing element from the priority queue, we find that heap<br />

representation is the best.<br />

APPLICATION OF PRIORITY QUEUES:‐<br />

Priority queues are used in following areas:<br />

Operating Systems<br />

Priority queue is used for job scheduling and interrupt handling in<br />

operating system.<br />

Graph Search<br />

It is used for shortest path in graph searching.<br />

Event‐driven simulation<br />

It is used for customers in a line. For example, lines at ticket counter<br />

at railway station, bus stand, etc., are queues, because the service,<br />

i.e., ticket, is provided on first‐come in first‐served basis.<br />

Aritifical intelligence<br />

It is used for A* searching.<br />

<strong>Data</strong> Compression<br />

It is used for Huffman codes.<br />

Numerical Computation<br />

It is used for reducing round off error.<br />

Computational number theory<br />

It is use to find the sum of power<br />

Prepared By :­<br />

Er. Harvinder Singh<br />

Assist Prof., CSE, H.C.T.M (Kaithal) Page ‐ 152 ‐

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!