Coding / Programming Videos

Post your favorite coding videos and share them with others!

Node.js/JavaScript interview training – Largest rectangle and water trapped

Download Video link >



Node.js/JavaScript interview training – Largest rectangle and water trapped

I’m solving typical coding problems you would be asked to solve during an interview. These puzzles are a lot of fun and there’s always something new to learn.

* Largest Rectangle in Histogram: Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
* Trapping Rain Water: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.

Glitch project to visualize a histogram: https://histogram-from-array.glitch.me/

Source code on https://github.com/fhinkel/twitch. — Watch live at https://www.twitch.tv/fhinkel

source

Bookmark(0)
 

 

View Comments source >

Transcript view all >

00:00 hello happy Saturday how are you today

00:04 oh hey Julian how you doing today

00:08 alright I got some really cool problems

00:11 for a cheat day so let's get right

00:15 started the first one is given an ngon

Leave a Reply

Please Login to comment
  Subscribe  
Notify of
Translate »