Skip to content

Jackson Gabbard's Blog

A Scattered Repository

Primary Menu

  • Home
  • Posts
  • YouTube
  • About
  • CV/Resume
  • Facebook
  • Twitter

Category Uncategorised

Largest Rectangle in a Histogram Coding Interview Problem

June 2, 2016Jackson Gabbard 1 Comment

Here’s the full text of the code from Episode 05. This is coded in JavaScript and uses the common approach of using a stack to keep track of the open rectangles.

https://gist.github.com/jacksongabbard/9cc21485c5e02d145203fa28651f42c4.js

Posts navigation

← Older posts
Newer posts →
Powered by WordPress.com.