Skip to content
Dictionary hashing | Intro to CS - Python | Khan Academy episode artwork

Nov 23, 2026 8 min

Dictionary hashing | Intro to CS - Python | Khan Academy

from Khan Academy Hosted by Khan Academy

How does the computer store a dictionary in memory? Learn how the computer uses hashing to convert keys to indices. Then, trace how the computer uses that index to locate the item in memory.Uploaded 26-06-25View the program used in this video at: https://www.khanacademy.org/python-program/tracing-dictionaries/6604870405701632Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course!Course link: https://www.khanacademy.org/computing/intro-to-python-fundamentals/x5279a44ae0ab15d6:analyzing-data-with-dictionariesCourse playlist: https://www.youtube.com/playlist?list=PLSQl0a2vh4HDkbhG0sDW0b-VZXykEIAe5Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated into dozens of languages, and 15 million people around the globe learn on Khan Academy every month. As a 501(c)(3) nonprofit organization, we would love your help! Donate or volunteer today! Donate here: https://www.khanacademy.org/donate?utm_source=youtube&utm_medium=desc Volunteer here: https://www.khanacademy.org/contribute?utm_source=youtube&utm_medium=descTIMESTAMPS:00:00 : mapping keys to values00:39 : hash function01:33 : dictionary definition02:18 : what if the hash is too big?02:44 : dictionary access03:22 : dictionary update03:45 : handling collisions04:24 : Python optimizations05:05 : summary

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Dictionary hashing | Intro to CS - Python | Khan Academy

0:00 8:31

No transcript yet.

Requests help us decide what to transcribe next.

AnointedEDU Jermaine Whiteside The AnointedEDU Podcast explores the intersection of research, leadership, governance, education, artificial intelligence, and institutional innovation. Hosted by Jermaine E. Whiteside, doctoral researcher and founder of AnointedEDU, each episode translates scholarly research into practical insights for educators, ministry leaders, nonprofit executives, public-sector professionals, and organizational decision-makers. Through conference presentations, research conversations, working papers, NotebookLM discussions, and executive education, the podcast examines governance science, adaptive leadership, Faithful Intelligence, AI ethics, implementation science, institutional trust, organizational resilience, and evidence-based leadership. Whether you are leading a church, nonprofit, educational institution, business, or government organization, The AnointedEDU Podcast provides research-informed ideas designed to help leaders build resilient, ethical, Beyond the Ball with Jonathan Jones Speak Your Success Media On Beyond The Ball Jonathan Jones shares his personal experiences and interviews industry leaders, former athletes, and entrepreneurs twice a week. Masai Russell, Darci Khan, Dienuerst Collin, Khari Blasingame, James Starks, Deshaun Highler, John Mosley are just a few of the interviews to date. This platform is designed to elevate the minority stories while sharing and providing business insight and tried and true strategies for success. Beyond the Ball was created for YOU, the entrepreneur, the Coach, the Former Athlete, and Small Business Owner. If you're ready to take your life to the next level with ACTIONABLE advice during your daily commute, workout, or even in your leisure time. Then this is the podcast to get your hands-on strategies to help you get from your current phase to the next level of your life. Where we focus on stories, strategies, and successes to further cultivate the mind of the listener and equip them with strategies for lifelong success. Follow Jonathan on Insta The President's Desk at Hillcrest Academy Brad Hoganson Exploring the link of discipleship, mentorship and classical education at Hillcrest Academy.

Frequently asked questions

How long is this episode of Khan Academy?

This episode is 8 minutes long.

When was this Khan Academy episode published?

This episode was published on November 23, 2026.

Can I download this Khan Academy episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.