paint-brush
House Robberby@deft
566 reads
566 reads

House Robber

by Sergey Golitsyn3mOctober 3rd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security systems connected and alert the police if two adjacent houses were broken into on the same night**. Given an integer array, return the maximum amount you can rob tonight**without alerting the police***. Author: Sergei Golitsyn. The problem was solved by using an algorithm called 'robber'
featured image - House Robber
Sergey Golitsyn HackerNoon profile picture
Sergey Golitsyn

Sergey Golitsyn

@deft

Senior Software Engineer with 7+ YoE building massively scalable systems both from scratch and diving into a codebase

About @deft
LEARN MORE ABOUT @DEFT'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sergey Golitsyn HackerNoon profile picture
Sergey Golitsyn@deft
Senior Software Engineer with 7+ YoE building massively scalable systems both from scratch and diving into a codebase

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Learnrepo
Herokuapp
Tefter