Computer Science - Data Structures - Hash tables - Library Book Finder

Two scenarios for finding a book in a library. Scenario A (No system): 'Check shelf 1... no. Shelf 2... no. Shelf 3...' - takes forever! Show O(n) searching through 1000 shelves. Scenario B (Hash system): 'Book title: "Python Crash Course". Hash the title: P=16, sum of letters mod 50 = shelf 23. Go

Edodovivmagarwal
Computer Science - Data Structures - Hash tables - Library Book Finder
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Data Structures - Hash tables - Library Book Finder

vivmagarwal
vivmagarwalJan 29, 2026

Description

Two scenarios for finding a book in a library. Scenario A (No system): 'Check shelf 1... no. Shelf 2... no. Shelf 3...' - takes forever! Show O(n) searching through 1000 shelves. Scenario B (Hash system): 'Book title: "Python Crash Course". Hash the title: P=16, sum of letters mod 50 = shelf 23. Go

Details

Computer ScienceData StructuresClass 12, Class 12, Grade 12

Engagement

10

Likes

0

Remixes

0

Comments