Flip the bit - MATLAB Cody - MATLAB Central

Problem 2202. Flip the bit

Difficulty:Rate

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

Solution Stats

42.89% Correct | 57.11% Incorrect
Last Solution submitted on Mar 03, 2025

Problem Comments

Solution Comments

Show comments

Group

Swap Between Values Image
Swap Between Values
  • 13 Problems
  • 40 Finishers

Problem Recent Solvers330

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page