New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here


by: Berniece Casper

DataStructuresandAlgorithms CS146

Marketplace > San Jose State University > ComputerScienence > CS146 > DataStructuresandAlgorithms
Berniece Casper
GPA 3.99


Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

Class Notes
25 ?




Popular in Course

Popular in ComputerScienence

This 4 page Class Notes was uploaded by Berniece Casper on Tuesday October 20, 2015. The Class Notes belongs to CS146 at San Jose State University taught by Staff in Fall. Since its upload, it has received 120 views. For similar materials see /class/225340/cs146-san-jose-state-university in ComputerScienence at San Jose State University.


Reviews for DataStructuresandAlgorithms


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 10/20/15
Reading Material from Textbook Introduction chaptertitle 1 The Role of Algorithms in Computing 11 Algorithms 12 Algorithms as a technology Appendix A 2 Getting Started 21 Insertion sort 22 Analyzing algorithms 23 Designing algorithms 3 Growth of Functions 31 Asymptotic notation 32 Standard notations and common functions 4 DivideandConquer 43 The substitution method for solving recurrences 44 The recursiontree method for solving recurrences 45 The master method for solving recurrences Sorting and Order Statistics pages 5 11 1145 1157 16 16 23 29 43 43 53 65 83 88 93 Data Structures Introduction Heapsort 61 Heaps 62 Maintaining the heap property 63 Building a heap 64 65 Priority queues Quicksort 71 Description of quicksort The heapsort algorithm 72 Performance of quicksort 74 Analysis of quicksort Sorting in Linear Time 81 Lower bounds for sorting 82 Counting sort 83 Radix sort 84 Bucket sort Medians and Order Statistics 91 92 Minimum and maximum time 93 Selection in worstcase linear time Introduction Selection in expected linear 147 151 151 154 156 159 162 170 170 174 180 191 191 194 197 200 213 214 215 220 229 10 11 12 Elementary Data Structures 101 Stacks and queues 102 Linked lists 103 Implementing pointers and objects 104 Representing rooted trees Hash Tables 111 Directaddress tables 112 Hash tables 113 Hash functions 114 Open addressing Binary Search Trees 121 What is a binary search tree 122 Querying a binary search tree 123 Insertion and deletion 232 232 236 241 246 253 254 256 262 269 286 286 289 294 Study Guide for Midterm 2 CS146 Spring 2011 Instructor Katerina Potika Reading Material from Textbook Introduction to Algorithms CLRS 3rd Edition 13 RedBlack Trees 308 131 Properties of redblack trees 308 132 Rotations 312 133 Insertion 315 18 BTrees 484 181 De nition of Btrees 488 182 Basic operations on Btrees 491 183 Deleting a key from a Btree 499 22 Elementary Graph Algorithms 589 221 Representations of graphs 589 222 Breadthfirst search 594 223 Depthfirst search 603 224 Topological sort 612 23 Minimum Spanning Trees 624 231 Growing a minimum spanning tree 625 232 The algorithms of Kruskal and Prim 631 21 Data Structures for Disjoint Sets 561 skim 211 Disjointset operations 561 212 Linkedlist representation of disjoint sets 564 Appendix B 31 Sets 1158 B4 Graphs 1168 B5 Trees 1173


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Steve Martinelli UC Los Angeles

"There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."

Kyle Maynard Purdue

"When you're taking detailed notes and trying to help everyone else out in the class, it really helps you learn and understand the I made $280 on my first study guide!"

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Parker Thompson 500 Startups

"It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.