Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

Rain Water

A collection of 1 post

Interview

Histogram Problem - Calculating the total volume of water held

This is another interview problem I came across recently. This is the classic and routine interview question. To summarize, problem can be described as follows, 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

  • Jayesh Kawli
Jayesh Kawli Jul 13, 2017 • 3 min read
Fresh Beginning © 2022
Powered by Ghost