Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 832. Flipping an Image
Given an n×n binary matrix, horizontally reverse each row and then invert every bit (0↔1), returning the transformed matrix. This can be done in-place by combining the row reversal and bit flip in a single pass (e.g., with a two-pointer swap and invert).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.