Skip to content
Avio Lines
← Segment Tree & BIT lineD23Stop 17 of 21

Block Placement Queries (LeetCode 3161)

HardLeetCode 3161 · Fenwick Tree (BIT) · Google, Amazon +10 · 55:03Block Placement Queries · Leetcode 3161 · Brute Force · Optimal · Detailed
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

Pause here and write your approach in two lines. Compare it with MIK's when the video ends.

Sign in to write your approach →

About this video

Video solution for LeetCode 3161 Block Placement Queries by codestorywithMIK: Segment Tree & BIT, Hard. Topics: Array, Binary Search, Binary Indexed Tree, Segment Tree. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
hard
Topics
Array, Binary Search, Binary Indexed Tree, Segment Tree, Ordered Set
Patterns
Fenwick Tree (BIT), Segment Tree Applications
Duration
55:03