Consider two sequences X and Y: X = <0, 1, 2, 1, 3, 0, 1> y = <1, 3, 2, 0, 1,…

UGC NET 2018

Consider two sequences X and Y:

X = <0, 1, 2, 1, 3, 0, 1>

y = <1, 3, 2, 0, 1, 0>

The length of longest common subsequence between X and Y is 

  1. A.

    2

  2. B.

    3

  3. C.

    4

  4. D.

    5

Attempted by 382 students.

Sign up free to check your answer

Sign up free

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…