Cody

Problem 2202. Flip the bit

Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

Solution Stats

52.73% Correct | 47.27% Incorrect
Last solution submitted on Feb 23, 2017

Problem Comments

Solution Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!