You are not logged in. Please login at to post your questions!


INOI1602 Brackets

As the statement did not state very clear, I would like to ask if a subseqeunce can be empty? (Not choosing any pairs at all)

Also what is the answer if there is no valid subseqeunces at all?

asked 19 Jun '17, 11:27

kirakira's gravatar image

accept rate: 0%

A Link to Q will be appreciated ^^

(19 Jun '17, 11:31) vijju123 ♦♦5★

This is the problem

  1. Yes, a sub-sequence may be empty.
  2. There may be no valid sub-sequence at all.

In both the cases, the answer should be 0.


answered 19 Jun '17, 16:19

c_utkarsh's gravatar image

accept rate: 17%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 19 Jun '17, 11:27

question was seen: 292 times

last updated: 19 Jun '17, 16:19