SlideShare a Scribd company logo
EB ?* H      l E tea    s


lqe HgE
 I- H -6
I       E
               EEeEiE i€,iEr
               g"sgE**E ? 5 E? E




    o
        3   E s";   -"b c;-Fdd :   =
e-?E-
                   4. trv
                        _;
                              '6A6 eda'?-
                               '=-
                                                                 ?'                        E                   g€
                                                                                                           € € e8 €E+.
                   .cG.E
                     ^.
                   sii
                               E
                               u                   6                                                 o     E&     A!€-r
                                                                                           € ?s ; fr is €SEE
                                                   g
                   Erg
                   - 9.        iI                  '                                                     g€gg
                   >,d c
                   'Er:        !
                               .E
                                                   e
                                                   tr
                                                   d                                       n g$ E vi .eT
                   '3'E=       o                   tg            -i
                                                                 ;r
                                                                                           -=         ov    o     I
                               +
                   3ZB
                    !k
                   €39
                               o
                               'g
                                         oj
                                         @
                                         €         .S
                                                   5 ?
                                                                 ll
                                                                 b                         € e?qE E ;fr €:r a
                   srd         I :                               €

                   f5!SEEiEt qgE
                       Eai-€s                                    E                         f?sggii3aE+E
                   f€*
                   e;3 ;eEit E
                   euE  ;gf                                      €
                                                                                           i ;gAi tsts i€r$                                    u



                   *ci E;E*F9;-
                   i*ta H:€ii*!
                                              .t

                                                                                           t c$FE €iEr IE€E'
                                                                                           E :: + €i:
                                                                                           'l ffi E*ii€flsi$H*

                           aIFF
                   TECS Efri
                   iir$ ;tE:sr€ t
                                                                 5
                                                                                           E
                                                                                                      -
                                                                                           { :- 5€+*ie*oEH,sE
                                                                                                            t;Y*sE€€ii{
i.,rlrt
1:',' '=)4{+
aln
             
          q --;
                   E€$s E;m$3ti
                        ...: :i ,: :) :i
                                                                 E
                                                                 .;
                                                                                           3                '38<cri d€S€
                               ad
                               U                                 ,a
                                              ri
                                              -




                    * os'gg o€                                   o:eoE                   @g                +o Eo                          Eg
                                                                                                                                          =
                    -EEF5F                                                                                 6r

          @
                    "€7*qe
                    ft58E
                    B€e€3                                                                                  €q B
                                                                                                           3.9r
                                                                                                           -ia
                                                                                                           €xgc
                                                                                                                                          €
                    +f
                    €-E
                    -oP
                                    o
                                    F
                                     d

                                    .x
                                                        ii
                                                        4
                                                        .s
                                                        't
                                                                      a
                                                                      i
                                                                      n
                                                                          :e
                                                                          8€
                                                                          $.-
                                                                          j1
                                                                                                           1;;
                                                                                                           EA6N1
                                                                                                                                          ts


                    gE; e. E.; g !€
                   ..5 s:            E                       N        E            c{                :i
                                                                                                     c.i
                                                                                                           *!: O^^s
                                                                                                           :E
                                                                                                                  ^       E
                                                                                                                      g E'E
                                                                                                                                   $
                                                                                                                                   c.i
                                                                                                                                          .E



                                             q 'Fr+i€-i
                                                                                   <.i                                                    E


                    €€s g sE- 8 tg
                                                                                 r:d
                                                                                 o_
                                                                                'oN L
                                                                                 g
                                                                                 o'}|                                                     €
                   ,,-lEs B *.rE E $3 E 3 ;s ; a;t :; g$ ; e                     b0diA
                                                                                 q{o
                                                                                'E^.4                                                              j

                   'tt;€u* s i€;ca i!                                           -do>                            #6s*.ts
                                                                                                                                          €            o


                                      8: s:s;SiigEeiECE                         s c.i 'F'fo                                                            o
                                                                                                                                                       6




                        r*€
                     gf; 3
                                                         EE I t;r
                                                                                .! o':.d
                                                                          E! E $ E+
                                                                                         a*
                                                                                                     i €E { 'l E: { ; €!
                                                                                                     K qEs g:-EiE
                                                                                                                                                   ri
                                                                                                                                                   o
                                                                                                                                                   't
                                                                                                                                                    H
                                                                                                                                                       to


                     EE €TE trg8 *i=E?. H                                       66_-
                                                                                          a"o
                                                                                                           ;EEs           g€ 3;i
                                                                                                                              [EE                  =
                                                                                                                                                       o


                                                                     sE:f;€ a it
                                                                                                                                                   o

                     :t       $'98,.-              i:g                        el                           ;E il          o.!                          9

                                                                              -E €Z
                                                                              E :B                         EE= E€ €;€
                                                                                                           E: HH                                       !
                                                                                                                                                        o

                     g? ;E3i fr3E ;:I                                         tr
                                                                              r AO
                                                                           E3 E
                                                                                 qE
                                                                                                           33             6    E         ;EE
                                                                                                                                                        o
                                                                                                                                                        d
                                                                                                                                                        o
                                                                                                                                                       ()
                                                                                                :a
                                                                                                           .;             :i               ';          .i

                                                                                                           I                               d
                                                    p                      d

                         ci                                                ci
f


                                                                                              REG NO:

                                                University Departments: Anna Universify, Chennai
                                                    M.E (FT) Degree Examination, Muy Z0IZ -ZA

                                                           Semester I - (Regulation 2009)
                                                       Branch : Computer Science and Engineering

                                   CP 91T2 ADVANCED DATA STRUCTURES AND ALGORITHMS

                          Time : 3 hrs                            Answer all     questions                      Max Marlis:l00

                                                                  PartA(10x2=2Dmarks)
                          1.      Define NP hard and NP complete problems and provide relation between
                                 them.

                          2.     Prove by contradiction:          log(3)   is irrational.
    ..'!.   ..

    'tt'
    '1
                          3.     Solve the recurrence relation : T(n)            :3   T(n/2)+ c.n, given n is a power of 2
                                 and c is a positive constant.

                          4.     what is an AVL tree? what is its maximum height for                  n   nodes ?

                          5.     Define Trie data structure

                       6.        What is special about Leftist tree?

                       7.       Write down the properties              of Deap   data structure

                       8.       State an application        of   counting binary tree

                       9.       Draw        a   k-D tree where   k:l
                       10.      Explain stabbing query

                                                                 Part B ( 5x 16 = 80 marks)

                 17'   a.      Perform detailed amortized analysis over the sequence of operations                    for    l0
                               generating the first 9 subsets ov€r a binary set of elements.
                                                                                                                                 6
                       b.      State the properties of Big Oh            notation

                 12. a.   i)   State   if   Splay tree is amortized data structure

                               Explain procedure for insertion and deletion of nodes in the splay tree with
                       ii)     an example.
                                                                                                                             10
                                                                            (oR)

                   b.'i)       State the properties       of   Red black tree
ii)    Wirl   * example, perform the operations of an insertion and a deletion
                                                                                              on a
                     red black tree that makes the tree unbalanced and resolve the
                                                                                   imbalance.             10


  13' a'      i)     Define binomial heap and explain the operations of insertion deletion
                                                                                           with
                     an example
                                                                                                          10

             ii)     Explain why lazy binomial heap is called so?
                                                                                                          6

                                                        (oR)
       b.   ii)     Explain melding ofpriority queues

         ii)        Write algorithms for insertion and deletion operations in a Fibonacci
                                                                                          Heap
                    and explain with an example
                                                                                                      l0
 14' a'     i)      Explain a divide and conquer based algorithm for finding the
                                                                                   convex hull
                    over a set of n points. What is the time complexity of tf,g
                                                                                algorithm?            12
            ii)
                    Define deterministic and non deterministic algorithms
                                                                                                          4    €:)
                                                       (oR)
    b.      i)      What is a randomized algorithm?
                                                                                                      4
         ii)       State the tree Vertex splitting problem and explain the
                                                                           algorithm to solve        t2
                   the problem and analyze its time complexity


15. a.             f)efine ID(   -   quad lree and explain the basic operations   of   insertion,
                   deletion and querying
                                                                                                     t6
                                                       (oR)

  b.              Define segment tree with n points and explain the querying
                                                                             operation with
                  an example and evaluate the query time
                                                                                                     t6

More Related Content

Similar to Advanced data structures and algorithms

13.4 Katesismo Pagsulong Ng Parokya
13.4 Katesismo Pagsulong Ng Parokya13.4 Katesismo Pagsulong Ng Parokya
13.4 Katesismo Pagsulong Ng Parokya
Jessie Somosierra
 
6 Katesismo 2nd Set Of Modules
6 Katesismo 2nd Set Of Modules6 Katesismo 2nd Set Of Modules
6 Katesismo 2nd Set Of Modules
Jessie Somosierra
 
Img 0005
Img 0005Img 0005
Img 0005
zamchar
 
Img 0005
Img 0005Img 0005
Img 0005
brianomar
 
Dokumentasi Dalam Franchise
Dokumentasi Dalam FranchiseDokumentasi Dalam Franchise
Dokumentasi Dalam Franchise
evandemak
 
ROP BKB champs_MVN
ROP BKB champs_MVNROP BKB champs_MVN
ROP BKB champs_MVN
Brett Fisher
 
Loan Project Buying a House For this assignment, you wil.docx
Loan Project Buying a House  For this assignment, you wil.docxLoan Project Buying a House  For this assignment, you wil.docx
Loan Project Buying a House For this assignment, you wil.docx
smile790243
 
O anticristo
O anticristoO anticristo
O anticristo
Bruno Aparecido
 
Forum2009 Sm Grp Disc Summary 0002
Forum2009 Sm Grp Disc Summary 0002Forum2009 Sm Grp Disc Summary 0002
Forum2009 Sm Grp Disc Summary 0002
Tom Loughran
 
i,i.ffioGco.o!,,qpa53qo.docx
i,i.ffioGco.o!,,qpa53qo.docxi,i.ffioGco.o!,,qpa53qo.docx
i,i.ffioGco.o!,,qpa53qo.docx
sheronlewthwaite
 

Similar to Advanced data structures and algorithms (10)

13.4 Katesismo Pagsulong Ng Parokya
13.4 Katesismo Pagsulong Ng Parokya13.4 Katesismo Pagsulong Ng Parokya
13.4 Katesismo Pagsulong Ng Parokya
 
6 Katesismo 2nd Set Of Modules
6 Katesismo 2nd Set Of Modules6 Katesismo 2nd Set Of Modules
6 Katesismo 2nd Set Of Modules
 
Img 0005
Img 0005Img 0005
Img 0005
 
Img 0005
Img 0005Img 0005
Img 0005
 
Dokumentasi Dalam Franchise
Dokumentasi Dalam FranchiseDokumentasi Dalam Franchise
Dokumentasi Dalam Franchise
 
ROP BKB champs_MVN
ROP BKB champs_MVNROP BKB champs_MVN
ROP BKB champs_MVN
 
Loan Project Buying a House For this assignment, you wil.docx
Loan Project Buying a House  For this assignment, you wil.docxLoan Project Buying a House  For this assignment, you wil.docx
Loan Project Buying a House For this assignment, you wil.docx
 
O anticristo
O anticristoO anticristo
O anticristo
 
Forum2009 Sm Grp Disc Summary 0002
Forum2009 Sm Grp Disc Summary 0002Forum2009 Sm Grp Disc Summary 0002
Forum2009 Sm Grp Disc Summary 0002
 
i,i.ffioGco.o!,,qpa53qo.docx
i,i.ffioGco.o!,,qpa53qo.docxi,i.ffioGco.o!,,qpa53qo.docx
i,i.ffioGco.o!,,qpa53qo.docx
 

Recently uploaded

Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 

Recently uploaded (20)

Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 

Advanced data structures and algorithms

  • 1. EB ?* H l E tea s lqe HgE I- H -6 I E EEeEiE i€,iEr g"sgE**E ? 5 E? E o 3 E s"; -"b c;-Fdd : =
  • 2. e-?E- 4. trv _; '6A6 eda'?- '=- ?' E g€ € € e8 €E+. .cG.E ^. sii E u 6 o E& A!€-r € ?s ; fr is €SEE g Erg - 9. iI ' g€gg >,d c 'Er: ! .E e tr d n g$ E vi .eT '3'E= o tg -i ;r -= ov o I + 3ZB !k €39 o 'g oj @ € .S 5 ? ll b € e?qE E ;fr €:r a srd I : € f5!SEEiEt qgE Eai-€s E f?sggii3aE+E f€* e;3 ;eEit E euE ;gf € i ;gAi tsts i€r$ u *ci E;E*F9;- i*ta H:€ii*! .t t c$FE €iEr IE€E' E :: + €i: 'l ffi E*ii€flsi$H* aIFF TECS Efri iir$ ;tE:sr€ t 5 E - { :- 5€+*ie*oEH,sE t;Y*sE€€ii{ i.,rlrt 1:',' '=)4{+ aln q --; E€$s E;m$3ti ...: :i ,: :) :i E .; 3 '38<cri d€S€ ad U ,a ri - * os'gg o€ o:eoE @g +o Eo Eg = -EEF5F 6r @ "€7*qe ft58E B€e€3 €q B 3.9r -ia €xgc € +f €-E -oP o F d .x ii 4 .s 't a i n :e 8€ $.- j1 1;; EA6N1 ts gE; e. E.; g !€ ..5 s: E N E c{ :i c.i *!: O^^s :E ^ E g E'E $ c.i .E q 'Fr+i€-i <.i E €€s g sE- 8 tg r:d o_ 'oN L g o'}| € ,,-lEs B *.rE E $3 E 3 ;s ; a;t :; g$ ; e b0diA q{o 'E^.4 j 'tt;€u* s i€;ca i! -do> #6s*.ts € o 8: s:s;SiigEeiECE s c.i 'F'fo o 6 r*€ gf; 3 EE I t;r .! o':.d E! E $ E+ a* i €E { 'l E: { ; €! K qEs g:-EiE ri o 't H to EE €TE trg8 *i=E?. H 66_- a"o ;EEs g€ 3;i [EE = o sE:f;€ a it o :t $'98,.- i:g el ;E il o.! 9 -E €Z E :B EE= E€ €;€ E: HH ! o g? ;E3i fr3E ;:I tr r AO E3 E qE 33 6 E ;EE o d o () :a .; :i '; .i I d p d ci ci
  • 3. f REG NO: University Departments: Anna Universify, Chennai M.E (FT) Degree Examination, Muy Z0IZ -ZA Semester I - (Regulation 2009) Branch : Computer Science and Engineering CP 91T2 ADVANCED DATA STRUCTURES AND ALGORITHMS Time : 3 hrs Answer all questions Max Marlis:l00 PartA(10x2=2Dmarks) 1. Define NP hard and NP complete problems and provide relation between them. 2. Prove by contradiction: log(3) is irrational. ..'!. .. 'tt' '1 3. Solve the recurrence relation : T(n) :3 T(n/2)+ c.n, given n is a power of 2 and c is a positive constant. 4. what is an AVL tree? what is its maximum height for n nodes ? 5. Define Trie data structure 6. What is special about Leftist tree? 7. Write down the properties of Deap data structure 8. State an application of counting binary tree 9. Draw a k-D tree where k:l 10. Explain stabbing query Part B ( 5x 16 = 80 marks) 17' a. Perform detailed amortized analysis over the sequence of operations for l0 generating the first 9 subsets ov€r a binary set of elements. 6 b. State the properties of Big Oh notation 12. a. i) State if Splay tree is amortized data structure Explain procedure for insertion and deletion of nodes in the splay tree with ii) an example. 10 (oR) b.'i) State the properties of Red black tree
  • 4. ii) Wirl * example, perform the operations of an insertion and a deletion on a red black tree that makes the tree unbalanced and resolve the imbalance. 10 13' a' i) Define binomial heap and explain the operations of insertion deletion with an example 10 ii) Explain why lazy binomial heap is called so? 6 (oR) b. ii) Explain melding ofpriority queues ii) Write algorithms for insertion and deletion operations in a Fibonacci Heap and explain with an example l0 14' a' i) Explain a divide and conquer based algorithm for finding the convex hull over a set of n points. What is the time complexity of tf,g algorithm? 12 ii) Define deterministic and non deterministic algorithms 4 €:) (oR) b. i) What is a randomized algorithm? 4 ii) State the tree Vertex splitting problem and explain the algorithm to solve t2 the problem and analyze its time complexity 15. a. f)efine ID( - quad lree and explain the basic operations of insertion, deletion and querying t6 (oR) b. Define segment tree with n points and explain the querying operation with an example and evaluate the query time t6