Skip main navigation

New offer! Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Two sum

In this video, Shubham Sarda, from Unwired Learning, explores a common interview question relating to two sum and demonstrates how to answer it.

In this video, you’ll explore how to solve a two sum interview question.

You will learn more about using a hash table to solve a two sum question.

Access the link in the ‘See also’ section to retrieve the downloadable resources and follow along.

This article is from the free online

Computer Science Essentials: Algorithms

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now