MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Data Structure knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following is the longest common subsequence between the strings "hbcfgmnapq" and "cbhgrsfnmq" ? |
| A. | hgmq |
| B. | cfnq |
| C. | bfmq |
| D. | fgmna |
| Answer» E. | |
| 2. |
Consider the strings PQRSTPQRS and PRATPBRQRPS . What is the length of the longest common subsequence? |
| A. | 9 |
| B. | 8 |
| C. | 7 |
| D. | 6 |
| Answer» D. 6 | |