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

Problem 2315. Reverse the input

Created by Joseph Pauwels

Given an input (n), produce an output in the reverse order with out using string variables or string function.

Example

 x = [123]
 y = [321]

NOTE: This is not x = [1, 2, 3]

This should work for all inputs.

Example

 x = [ 96721]
 y = 12769

Problem Group

Solution Statistics

34 correct solutions 37 incorrect solutions
Last solution submitted on Nov 30, 2014

Problem Comments

Solution Comments