Skip to content

Commit 778e188

Browse files
Update virus_outbreak.md
1 parent d36b375 commit 778e188

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Techgig Code Gladiators 2021/open round/virus_outbreak.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@ In the Martian land faraway, a new virus has evolved and is attacking the indivi
66

77
If the blood composition of the person is a subsequence of the virus composition V, then the person is identified as POSITIVE otherwise NEGATIVE.
88

9+
#### Example:
10+
11+
Virus Composition, V = coronavirus
12+
Blood Composition of the person , B = ravus
13+
14+
The person in question is POSITIVE as B is the subsequence of the V.
15+
16+
The scientists are busy with their research for medicine and request you to build a program which can quickly figure out if the person is POSITIVE or NEGATIVE. They will provide you with the virus composition V and all the people’s current blood composition. Can you help them?
17+
18+
^Note: The virus and blood compositions are lowercase alphabet strings.^

0 commit comments

Comments
 (0)