Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
24 views
2 pages
18CS32
Uploaded by
Naik Sam
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save 18CS32 (1) For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
24 views
2 pages
18CS32
Uploaded by
Naik Sam
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save 18CS32 (1) For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save 18CS32 (1) For Later
You are on page 1
/ 2
Search
Fullscreen
BCS Schiele o» (OOO mss Third Semester B.E. Degree Examination, July/Augus 2021 Data Structures and App! Time: 3 hrs, Say. Marke Fae te iS Note: Answer any FIVE full questions 8 g ~ 1a, Write the drawback of static memory allocation, Explain in detail the dit) rend inet ge dynamic memory allocation 04 5 8 sg b. Write a program to search for key element in an array using binary sean 107 Sh ae Write the difference between structure and anion (5 ta an 5a 2a. Write a program to sort integers in increasing onder using selection sort N16 bak & a Write a function: (i) to find out the length of the string Git string co: Hen, wath 5 using built-in function, UR Stuck g 5 cc. Write a program to seareh foran clement in the sparse mattis (M6 Stark ge, 8 3° a. What is stack? Write a program to implenient push. pop and display eo) tions jist sack g ! using arrays. 10 Stash) a b. Convert the following infis expression to pos! fix expression a G) (AS(B-C*D)AEFF) Gi NSYSZ MeN PQ) 0 Stank €. Write a program to evaluate the postiix expression, 406 Starks 4a. Explain the drawback of ordinary queue. Write @ program ie implore 6 push pes and 4 display operations for circular queue using uray, 08 Ma b, Write a recursive program to find out the Gi!) of two numbers. U5 Shae ©, What is double ended queue? Write a program to implemen’ the with seguuted functions. (07 Vian § a, Write a program to implement queue using singly linked lis 48 Sek b. Write a function to search for key element in a fist using Sine!y Civil 1 (ast Write a funetion to delete a node based on iniormation fichi using doaisl aged bt {ie Hark 6 a. Write a finetion t0 count the mumber of nodes in the List 104 Shon b. Write a function to perform the following using circular doubly Likes ayy avith Souk node. (3) insert_fiont > insert element at front cud (ii) delete_rear— delete clement from rear end 108 Markos ©. Write a finetion to add wo polynomial usiry Linked List WS Mavis Explain the following with suitable exanyplc (i) Binary tree (ii) Binary search tree Gi) Complete binary tree (iv), Skewed tree 8 askYENEPOYA INSTITUTE OF TECHNOLOGY CENTRAL LIBRARY 18CS32 Cosine: tee aying the given ive traversal none GDUBALICE postonicr | GHDIBIEFCA (04 Marks) Waite ~ Fonction to eteate and search for an element in binary search tree, (08 Marks) Welle © programa to insert an element in to binary tree. (08 Marks) Write s Sanction to traverse the tree using He pisorder ii) postarter iii) e-crder tay ersal (06 Marks) I splain Shicaded Binary Tree in detail, (06 Marks) 1 splain she different fanetions fir file operations. (06 Marks) Write no sort the array’ elements using radix sort. Show tracing 0 sort the nay glenents inereasing order tising radix sort. 52, 43, 24, 67, 78, 96, 81,3, 27. (08 Marks) Vite s fiction to sort the array elements in inereasing order using insertio : sort, (06 Marks) Write «program to print the reachable nodes of a graph from the source rede using BFS nethod (06 Marks) Write Ys adjaccney matris and adjaveney. List representation for the given graph in Hie.Gloan Fiv.Q10tb (06 Marks) Fe pin sash (08 Marks) 2or2
You might also like
Principles: Life and Work
From Everand
Principles: Life and Work
Ray Dalio
4/5 (643)
The Emperor of All Maladies: A Biography of Cancer
From Everand
The Emperor of All Maladies: A Biography of Cancer
Siddhartha Mukherjee
4.5/5 (298)
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
From Everand
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
Brene Brown
4/5 (1175)
Rise of ISIS: A Threat We Can't Ignore
From Everand
Rise of ISIS: A Threat We Can't Ignore
Jay Sekulow
3.5/5 (144)
Fear: Trump in the White House
From Everand
Fear: Trump in the White House
Bob Woodward
3.5/5 (836)
The Unwinding: An Inner History of the New America
From Everand
The Unwinding: An Inner History of the New America
George Packer
4/5 (45)
The World Is Flat 3.0: A Brief History of the Twenty-first Century
From Everand
The World Is Flat 3.0: A Brief History of the Twenty-first Century
Thomas L. Friedman
3.5/5 (2289)
The Yellow House: A Memoir (2019 National Book Award Winner)
From Everand
The Yellow House: A Memoir (2019 National Book Award Winner)
Sarah M. Broom
4/5 (100)
The Glass Castle: A Memoir
From Everand
The Glass Castle: A Memoir
Jeannette Walls
4.5/5 (1856)
Steve Jobs
From Everand
Steve Jobs
Walter Isaacson
4.5/5 (1139)
Shoe Dog: A Memoir by the Creator of Nike
From Everand
Shoe Dog: A Memoir by the Creator of Nike
Phil Knight
4.5/5 (629)
Team of Rivals: The Political Genius of Abraham Lincoln
From Everand
Team of Rivals: The Political Genius of Abraham Lincoln
Doris Kearns Goodwin
4.5/5 (244)
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
From Everand
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
Dave Eggers
3.5/5 (233)
The Outsider: A Novel
From Everand
The Outsider: A Novel
Stephen King
4/5 (2885)
Her Body and Other Parties: Stories
From Everand
Her Body and Other Parties: Stories
Carmen Maria Machado
4/5 (903)
Manhattan Beach: A Novel
From Everand
Manhattan Beach: A Novel
Jennifer Egan
3.5/5 (919)
John Adams
From Everand
John Adams
David McCullough
4.5/5 (2546)
Sing, Unburied, Sing: A Novel
From Everand
Sing, Unburied, Sing: A Novel
Jesmyn Ward
4/5 (1267)
Angela's Ashes: A Memoir
From Everand
Angela's Ashes: A Memoir
Frank McCourt
4.5/5 (943)
The Light Between Oceans: A Novel
From Everand
The Light Between Oceans: A Novel
M.L. Stedman
4.5/5 (815)
The Perks of Being a Wallflower
From Everand
The Perks of Being a Wallflower
Stephen Chbosky
4.5/5 (4103)
Little Women
From Everand
Little Women
Louisa May Alcott
4.5/5 (2369)