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

New to MATLAB?

Problem 2202. Flip the bit

Created by the cyclist

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

Problem Group

Solution Statistics

66 correct solutions 46 incorrect solutions
Last solution submitted on Oct 10, 2015

Problem Comments

Solution Comments