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

×

distinct character susbsequence

I am little confused with the term susequence.Specifically is "abcdef" a subsequence of "abcbdef" as it can be obtained by removing the b ocuuring in the middle of string?

asked 14 Nov '14, 12:40

kartik07's gravatar image

2★kartik07
12
accept rate: 0%


yes. "abcdef" is a subsequence of "abcbdef"...

link

answered 14 Nov '14, 12:45

dextrous's gravatar image

5★dextrous
1582210
accept rate: 0%

A subsequence of string is a string obtained after removing some characters of string and order of remaining characters should be same as it was in original string .

link

answered 14 Nov '14, 13:01

pardeep_gill's gravatar image

2★pardeep_gill
615
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×79
×17
×6

question asked: 14 Nov '14, 12:40

question was seen: 1,380 times

last updated: 14 Nov '14, 13:01