Skip to content
0:00 / 0:00

#stack#balancedparentheses#crackingthecodinginterview

Data Structures: Balanced Parentheses in Expression

HackerRank

279K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Gayle Laakmann McDowell, author of Cracking the Coding Interview

Intermediate. Assumes working knowledge.

284K views10 years ago1 recommendation

Computer scienceData structuresAlgorithmsCoding interviews

Gayle Laakmann McDowell explains how to use a stack to check if a sequence of brackets is correctly balanced.

Learn how to check if a sequence of different types of brackets (or parentheses) is correctly balanced. This video is a part of HackerRank's Cracking The Coding Interview Tutorial with Gayle Laakmann McDowell. hackerrank.com/domains/tutorials/cracking-the-coding-intervi…

Why it's here

1 person recommends this

What people say. Recommended as a helpful video for learning data structures and preparing for coding interviews.

u/ASteelyDanin r/ExperiencedDevs • Recommends

On “Should I need to concentrate on fundamentals”

For an overview I used MIT OpenCourseWare's 6.006 Introduction to Algorithms. I also read (some of) Skiena's Algorithm Design Manual which had more depth than the courses but wasn't as good as explaining concepts in detail. For Data Structures there are a number of free courses available on Youtube. This one seems to cover most of it. These videos from HackerRank by the author of Cracking the Coding Interview on Data Structures and Algorithms were also quality. If you've been programming a while you probably know the basics like array/list, map/dict, and set. Make sure you know how those are implemented as well as the less frequently used data structures such as stack, queue, heap, t…