Flip the Matrix - Google Coding Interview Question
Problem Description
Given a 2D array with values of 1 or 0, do the following actions:
Flip the matrix horizontally
Replace 1 with 0 and replace 0 with 1
------------------------------------------------------------------------
Ace your coding interview by practicing on this sample problem. If you're stuck with the right data structure or algorithm to apply, we have solutions available for you.
This programming problems are commonly used for software engineering, solutions engineer, or other related roles for Facebook, Google, Amazon, and other big IT companies.
Our videos will be covering Arrays and Strings, Linked Lists, Stacks and Queues, Trees and Graphs, Bit Manipulation, Math and Logic Puzzles, Object-Oriented Design, Recursion and Dynamic Programming, Sorting and Searching, and so much more!