solulubeta
Sign in
NeetCode 150 / 1-D Dynamic Programming
13.04 · Problem

House Robber II

Medium Break the circle into two lines 1 video LC 213 Pro

This problem is part of solulu Pro

Same as House Robber, but the houses are arranged in a circle: the first and last houses are neighbours. Return the maximum you can rob without robbing two adjacent houses.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 102 of 150 · updated 2026-10-12