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 465. Dick Van Dyck?

Created by AMITAVA BISWAS
  • Not the celebrity, Dick Van Dyke,
  • this problem relates to balanced strings of parentheses, Dyck Language.
  • Please attach the depth value and a space next to each parenthesis according to following style.
  • For example, change '<(DVD)[MTM]>' to '<1 (2 DVD 2)[2 MTM 2] 1>'.
  • Please try a general solution, the test suite may expand.

Problem Group

Solution Statistics

13 correct solutions 14 incorrect solutions
Last solution submitted on Aug 09, 2013