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

51.87% Correct | 48.13% Incorrect
Last solution submitted on Oct 16, 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!