LeetCode Day 21 - Interactive Grid (Leftmost Column with 1)

Опубликовано: 14 Май 2026
на канале: Errichto Algorithms
13,504
504

Every row of a grid has some number of 0's first and then 1's (so it's sorted). By asking queries about value of a cell, find out the leftmost column with at least one value 1. We can use binary search or something faster! Explanation of random order solution: https://codeforces.com/blog/entry/62602
Leetcode holds a 30-day Challenge in April with a new coding interview problem appearing each day, here's contest link: https://leetcode.com/explore/featured...

Subscribe for more educational videos on algorithms, coding interviews and competitive programming.

Github repository: https://github.com/Errichto/youtube
Live streams on 2nd YT channel and on Twitch:    / errichto2   &   / errichto  
FB and Twitter:   / errichto   &   / errichto  
Frequently Asked Questions: https://github.com/Errichto/youtube/w...

#Coding #Programming