inputs stringlengths 119 467 | targets stringlengths 2 21 | _template_idx int64 0 9 | _task_source stringclasses 1 value | _task_name stringclasses 1 value | _template_type stringclasses 2 values |
|---|---|---|---|---|---|
Teacher: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Teacher: Now, understand the problem? If you are still confused, see the following example:
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Reason: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Now, solve this instance: RepkPhekvWEWuGrW, MAPekvWEWuGtIjmpuID
Student: | ekvWEWuG | 2 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[EX Q]: vMsEJRoLkWcmkuwNRz, ZmoLkWcmVZiBv
[EX A]: oLkWcm
[EX Q]: andNlOdIcQMyZvc, vCMENolkslOdIcQMyZJtCFo
[EX A]: lOdIcQMyZ
[EX Q]: yCmlKZSxYKwjAvO, nmmRSxYKwjOJHAj
[EX A]: | SxYKwj
| 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example is below.
Q: PPdQTlHHTJEe, DydQTlHHVnmlLu
A: dQTlHH
Rationale: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: dGcJtRihkopcSYQndYmSab, BTjxoDpkopcSYQnYDAzk
A: | kopcSYQn | 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
xtCJGe, DXCJSw
CJ
ztkWLUJQXxP, fYluOkWLUJKDX
kWLUJ
gdnnakIUFAaJ, AOHkIUFAPGe
| kIUFA
| 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Example solution: dQTlHH
Example explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Problem: uVXzoYsuCYKfTfc, vgrWYqoYsuCYynR
| Solution: oYsuCY | 5 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
QeNePjbLBKbDOuAVTJtXL, xjPVOyPbLBKbDOuDsMSEF
bLBKbDOu
dReySjyqecU, loSjyqiRl
Sjyq
ELeBINdvYRywxaQOx, boxHCvYRywxaAQeL
| vYRywxa
| 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
--------
Question: YlhtTQgHiffTbIbBrcHMqFKCdWz, HyregFgMffTbIbBrcHYUnnQvGlx
Answer: ffTbIbBrcH
Question: lMRuEThD, wqQRuEKp
Answer: RuE
Question: XaJVPT, FyJVwE
Answer: | JV
| 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Example solution: dQTlHH
Example explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Problem: FYuhvgWrpbCQRyUGwLnAzGH, XqmzYZXCQRyUGwLnAPe
| Solution: CQRyUGwLnA | 5 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example Input: YRLHFm, odLHCI
Example Output: LH
Example Input: FNVeaFmprNHqqtAaKv, iGBmrrMveaFmprNHqWWAvtht
Example Output: eaFmprNHq
Example Input: yqsQdL, nbsQEH
Example Output: | sQ
| 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Detailed Instructions: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
See one example below:
Problem: PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Problem: erhDAsgbzoDSXbjYXETxh, VLUOqwRDsgbzoDSXbMeZhvnOu
Solution: | sgbzoDSXb | 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: aTcASDhAyVUfPwdHZ, KGwASDhAyVGxZo
Solution: | ASDhAyV | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[EX Q]: BmxgSFWBlVX, kGgKrgSFWBlGunFcZ
[EX A]: gSFWBl
[EX Q]: WlqGjLNrxXeUrKCZel, pDSsmNrxXeUrKCslBXBbRu
[EX A]: NrxXeUrKC
[EX Q]: jDgVQDEAMimO, odgVQDEAMiJaSeRt
[EX A]: | gVQDEAMi
| 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Teacher: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Teacher: Now, understand the problem? If you are still confused, see the following example:
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Reason: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Now, solve this instance: FKuDbSKCLViRZE, YmbSKCLViNphQLAJ
Student: | bSKCLVi | 2 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[Q]: xMxyohPBlJIEBqghiMdBQPwq, xsBlJIEBqghlMosK
[A]: BlJIEBqgh
[Q]: dlzequypR, Puequqv
[A]: equ
[Q]: erhDAsgbzoDSXbjYXETxh, VLUOqwRDsgbzoDSXbMeZhvnOu
[A]: | sgbzoDSXb
| 5 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
jWNGDl, GkNGvU
Answer: | NG | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
UysTOtIRtRorNAFKKYD, icDOtIRtRoropYVaKzJ
OtIRtRor
KKrCLvJKRoyV, WDeLvJKCBdS
LvJK
inTYrBrwpJ, FPxYrBrwkdxv
| YrBrw
| 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Ex Input:
tGBRASi, QABRAtL
Ex Output:
BRA
Ex Input:
krnkpodgfpCKtfCqyzUbymWbxi, DydgSWpCKtfCqyzDaMsjqc
Ex Output:
pCKtfCqyz
Ex Input:
ekzvfgFkOLxtOk, McgtFhiKzvfgFkOLrBTZZw
Ex Output:
| zvfgFkOL
| 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution is here: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Now, solve this: izYLVLRhGENtp, wpXyYLVLRhxSc
Solution: | YLVLRh | 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[Q]: zqwhMdAdXQfQCAmVNaYZm, toYMIwQeadAdXQfQCAmLyheFOv
[A]: dAdXQfQCAm
[Q]: HhBhJMpxpty, MxTJMpxnQEf
[A]: JMpx
[Q]: IObuABrLTXfNzoa, VBTSoEABrLTXMMVm
[A]: | ABrLTX
| 5 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example Input: NNpkdhvgT, BMkAkdhvrwV
Example Output: kdhv
Example Input: HiEuutntEBpU, fdkqEuutntEBABdGZRND
Example Output: EuutntEB
Example Input: VsxnSSFWwMqp, FkWxnSSFFa
Example Output: | xnSSF
| 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
instruction:
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
question:
HaIPcFXLhYDp, AdIPcFXtJdRE
answer:
IPcFX
question:
euQWhCovKplukMYznXcD, XAfMhKdzhCovKplukMcMlSuBw
answer:
hCovKplukM
question:
jWNGDl, GkNGvU
answer:
| NG
| 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
hDnqBfzJMLCmnaqkXBPHqYp, gOTqBDAbMLCmnaqkXrzeR
Answer: | MLCmnaqkX | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
TASK DEFINITION: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PROBLEM: jXqEDHTCxTiUAICWZJdpmYq, GBTCxTiUAICZKnLgZBXi
SOLUTION: TCxTiUAIC
PROBLEM: HaLZdTX, tLLZdEXN
SOLUTION: LZd
PROBLEM: yKtQOhYvrJVH, HQsTQOhYvPP
SOLUTION: | QOhYv
| 8 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: BZRpdx, mlRpyG
Solution: | Rp | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example is below.
Q: PPdQTlHHTJEe, DydQTlHHVnmlLu
A: dQTlHH
Rationale: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: zeuyZKwvIOfx, BlmZKwvspUt
A: | ZKwv | 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
wDSKHtWbCDqTeoBeiYHdcZD, MydQCwqTeoBeiYHdYMp
qTeoBeiYHd
ZGkBNEDRAwURXnxBIOJkzTvg, HMAwURXnxBMfGbPOBf
AwURXnxB
zeuyZKwvIOfx, BlmZKwvspUt
| ZKwv
| 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Ex Input:
CxosNa, ikosdx
Ex Output:
os
Ex Input:
cvZfWOwa, xOfWOhZs
Ex Output:
fWO
Ex Input:
fHlNJescDLnvaAs, gCHhwVpgJescDLnvXEhK
Ex Output:
| JescDLnv
| 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example input: PPdQTlHHTJEe, DydQTlHHVnmlLu
Example output: dQTlHH
Example explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: bPURzRPCxGwDqS, MBRzRPCxufTCE
A: | RzRPCx | 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Given the task definition, example input & output, solve the new input case.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Output: dQTlHH
Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input case for you: CkufDfRFQsWMJncf, JPufDfRFQsWMAXYr
Output: | ufDfRFQsWM | 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
CMrTXnTnTVaR, srnXnTnTDNULO
Answer: | XnTnT | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
--------
Question: SeXNqRAbKdLuWXgb, npsIWRAbKdLuUWSbvuS
Answer: RAbKdLu
Question: pYmzRnGPQVPrqPApKTyvaO, tNGPQVPrqPVTh
Answer: GPQVPrqP
Question: whsjFUCDgOgEeZQwgi, OZbgOgEeZQwGIZaO
Answer: | gOgEeZQw
| 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Q: fWJdaAfOCfejXZvidHM, gOpfOCfejXZbtLvSLZI
A: fOCfejXZ
****
Q: CzkPtkpMTDeNZwCPbJJn, HzpMVDeNZwCPbJVOU
A: DeNZwCPbJ
****
Q: WEvadgbt, OYadgngq
A: | adg
****
| 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example is below.
Q: PPdQTlHHTJEe, DydQTlHHVnmlLu
A: dQTlHH
Rationale: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: OrcQOvMBhmwP, mnWrzcQOvMBnLwI
A: | cQOvMB | 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example is below.
Q: PPdQTlHHTJEe, DydQTlHHVnmlLu
A: dQTlHH
Rationale: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: iqDzFQkpRQtmJ, UejzFQkpsXQhS
A: | zFQkp | 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[EX Q]: SIIPePlrkftKkzfgdjg, JqNnXHrkftKkzOMUwmc
[EX A]: rkftKkz
[EX Q]: krnkpodgfpCKtfCqyzUbymWbxi, DydgSWpCKtfCqyzDaMsjqc
[EX A]: pCKtfCqyz
[EX Q]: BiKceDPPkltIggzIdCXHMBc, rMmbFvPPkltIggzIRDKER
[EX A]: | PPkltIggzI
| 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Q: TUAHhdvHIBxogI, LjfGsAHhdvHJcSdNV
A: AHhdvH
****
Q: fREVIdeTcakgFnwDWTVev, IbtXImseeTcakgFnwDYsKBAlux
A: eTcakgFnwD
****
Q: bPURzRPCxGwDqS, MBRzRPCxufTCE
A: | RzRPCx
****
| 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Q: NTINFnRckGsfLqhSoA, UUONcKKFnRckGsfLqVak
A: FnRckGsfLq
****
Q: QlJnxO, BLJnCQ
A: Jn
****
Q: rgrnnmIiQkmKAHrLvRFmLukvpY, FMNzeIiQkmKAHrLwuSKZe
A: | IiQkmKAHrL
****
| 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Given the task definition, example input & output, solve the new input case.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Output: dQTlHH
Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input case for you: uRNaZZoUrCMfivLenmvNoLfLB, lhzUrCMfivLenGLbTHKBC
Output: | UrCMfivLen | 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: uxnltveNQzRnCvc, EdniveNQzRnxihEPd
Solution: | veNQzRn | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example is below.
Q: PPdQTlHHTJEe, DydQTlHHVnmlLu
A: dQTlHH
Rationale: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: PWNgnRzUnD, FtwuNgnRfVNo
A: | NgnR | 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution is here: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Now, solve this: rgrnnmIiQkmKAHrLvRFmLukvpY, FMNzeIiQkmKAHrLwuSKZe
Solution: | IiQkmKAHrL | 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
JAfPtjqqUYMD, cpXItjqqFN
tjqq
RJMYumLAlhmnbhzKRzIOWsGrxGu, VEViqlihmnbhzKRzIBArjAhYrz
hmnbhzKRzI
iIsLAOEKbwQwXEbne, ELVPXAPKLAOEKbwQwGQ
| LAOEKbwQw
| 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Given the task definition, example input & output, solve the new input case.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Output: dQTlHH
Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input case for you: IGKuXXVRROTzSeLtrBIVSj, KNxvPoVRROTzSeYLdFz
Output: | VRROTzSe | 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Q: iwSQnplQZFbXQ, lHWnplQZFzswgU
A: nplQZF
****
Q: eMDNXl, ZZDNAa
A: DN
****
Q: wRFDMvQmLqaZwAhn, nizUXTvQmLqaYIGvS
A: | vQmLqa
****
| 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Example solution: dQTlHH
Example explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Problem: TwxZUg, LMxZFG
| Solution: xZ | 5 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[EX Q]: YXsgPE, ENsgSO
[EX A]: sg
[EX Q]: Owbiay, exbime
[EX A]: bi
[EX Q]: FgxZBKnvjDDjAHr, uyhJmTEUhZBKnvjDDjQpjoIulxe
[EX A]: | ZBKnvjDDj
| 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Given the task definition, example input & output, solve the new input case.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Output: dQTlHH
Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input case for you: VuXPVv, EoXPPe
Output: | XP | 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[EX Q]: RpaZAvSnEBgGapIPQgw, wcwYsXvSnEBgGapIwoIWROB
[EX A]: vSnEBgGapI
[EX Q]: JKZiYILNeNQbJyznES, PHKILNeNQbJylltYH
[EX A]: ILNeNQbJy
[EX Q]: AwwCuRnGeYwp, iaOECuRnGlyq
[EX A]: | CuRnG
| 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example input: PPdQTlHHTJEe, DydQTlHHVnmlLu
Example output: dQTlHH
Example explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: lOedgdw, aoedgpn
A: | edg | 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution is here: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Now, solve this: NKvMsvIvysMlaokPmFCxPNBHsG, HqvecGsMlaokPmFAma
Solution: | sMlaokPmF | 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Let me give you an example: PPdQTlHHTJEe, DydQTlHHVnmlLu
The answer to this example can be: dQTlHH
Here is why: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
OK. solve this:
AwwCuRnGeYwp, iaOECuRnGlyq
Answer: | CuRnG | 8 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Let me give you an example: PPdQTlHHTJEe, DydQTlHHVnmlLu
The answer to this example can be: dQTlHH
Here is why: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
OK. solve this:
wPkaEZQOlyu, IcBNhkaEZQNB
Answer: | kaEZQ | 8 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution is here: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Now, solve this: fhEWzucxxwcpePyIaxjKOB, FUyrplXesqxxwcpePyIafLbqWC
Solution: | xxwcpePyIa | 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example is below.
Q: PPdQTlHHTJEe, DydQTlHHVnmlLu
A: dQTlHH
Rationale: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: qgWffUaZmZ, aNffUavtEl
A: | ffUa | 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
BeTkSb, lwTkIy
Answer: | Tk | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
nbHwGZyKfvkycIkS, PJfhZyKfvkmm
Answer: | ZyKfvk | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Teacher: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Teacher: Now, understand the problem? If you are still confused, see the following example:
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Reason: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Now, solve this instance: LgJwDs, pEJwNL
Student: | Jw | 2 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Given the task definition, example input & output, solve the new input case.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Output: dQTlHH
Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input case for you: rzsosx, OTsoUr
Output: | so | 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
--------
Question: JXnHYuZvAYK, zhUYuZvASGhd
Answer: YuZvA
Question: CUlMsvov, iflMsSRp
Answer: lMs
Question: AqIFouPBi, TLFouQoM
Answer: | Fou
| 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example Input: jFVaEHbMrrkW, ekfVaEHbPnBnM
Example Output: VaEHb
Example Input: Owbiay, exbime
Example Output: bi
Example Input: ixyjFRhXjAnScOh, HPnBRhXjAnScdh
Example Output: | RhXjAnSc
| 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Example solution: dQTlHH
Example explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Problem: ixyjFRhXjAnScOh, HPnBRhXjAnScdh
| Solution: RhXjAnSc | 5 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
instruction:
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
question:
FiKGCRXutEOzMqP, xdxRXutEsl
answer:
RXutE
question:
rqhQxQQDdYwemFiiwcfVx, cEQDdYwemFtwpfNJC
answer:
QDdYwemF
question:
kItTlQbVByTUcQMGZCpWB, jyPFgVByTUcQMiqRkz
answer:
| VByTUcQM
| 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example Input: HEVqGddewrNqiZ, iyvlddewrNXr
Example Output: ddewrN
Example Input: xfZYYDKEqoRRu, ztCeYYDKEqoPG
Example Output: YYDKEqo
Example Input: jnKqRsdppRKfluNSxg, dTiziMCdppRKflWZE
Example Output: | dppRKfl
| 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: OXvkTqEXPYicPbp, vttNaqEXPYujuVf
Solution: | qEXPY | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: ulLyoHBxsfbIQNavqt, XaXBxsfbIQNazlSie
Solution: | BxsfbIQNa | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example input: PPdQTlHHTJEe, DydQTlHHVnmlLu
Example output: dQTlHH
Example explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: avknEeLJ, NHnknEtkB
A: | knE | 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Teacher: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Teacher: Now, understand the problem? If you are still confused, see the following example:
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Reason: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Now, solve this instance: bVlwKYBYmcNq, hBlwKYBprL
Student: | lwKYB | 2 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: hBJlqvFS, NalqvWm
Solution: | lqv | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[Q]: PivhPfah, XSghPfOi
[A]: hPf
[Q]: NwmTIZSnlKGG, qAYIZSnfWRd
[A]: IZSn
[Q]: hutVDIaUQrLBRbKvVta, CsAqMaUQrLBRbFOj
[A]: | aUQrLBRb
| 5 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
OcvKXp, JfvKUf
Answer: | vK | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Input: Consider Input: tGBRASi, QABRAtL
Output: BRA
Input: Consider Input: apGMPThLTCw, LvMPThYW
Output: MPTh
Input: Consider Input: LvTnqwKF, Lanqwhhe
| Output: nqw
| 2 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Q: BfCCzPNLBbwCoxMVAG, vhwNLBbwCbH
A: NLBbwC
****
Q: gTjTwC, OUjTgM
A: jT
****
Q: YGQWjAYQ, JiWjAQK
A: | WjA
****
| 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Input: Consider Input: ktABEFESAVHZkkY, uMjxiESAVHZkZgWUte
Output: ESAVHZk
Input: Consider Input: vJtmxQmHEq, yobgAtmxQmMeoLz
Output: tmxQm
Input: Consider Input: IWwtBIJaQNPCVDFzZpLoVaBiF, YzUkUNJaQNPCVDFzENGRBH
| Output: JaQNPCVDFz
| 2 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: bMFkBRSX, adFkBRxbAH
Solution: | FkBR | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[Q]: JXnHYuZvAYK, zhUYuZvASGhd
[A]: YuZvA
[Q]: XSnVeAjWLFWTgwmf, WsByLAjWLFWnQfl
[A]: AjWLFW
[Q]: hQzjekPMjmvkYnMAvzn, AnjekPMjmvkYiu
[A]: | jekPMjmvkY
| 5 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
instruction:
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
question:
XpFCxFOgTTNCnQzMnVPV, FMqzdOwgTTNCnQzedorxVPe
answer:
gTTNCnQz
question:
QgkpBHsrfRYJCa, AdjbKLpBHsrfbpBC
answer:
pBHsrf
question:
GFUjho, wgUjMU
answer:
| Uj
| 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
--------
Question: ZyrpGdXvvtrKQIxU, CLNGdXvvtrKQDpicfqLdt
Answer: GdXvvtrKQ
Question: WlqGjLNrxXeUrKCZel, pDSsmNrxXeUrKCslBXBbRu
Answer: NrxXeUrKC
Question: NgilTjDOVPw, HjsyilTjDOVEqqHzNv
Answer: | ilTjDOV
| 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
aWshKwEuYBBdSwIAyXw, wfVuYBBdSwIAseTxR
Answer: | uYBBdSwIA | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Detailed Instructions: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
See one example below:
Problem: PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Problem: UQDJDbzqDxsMzUL, BxClJDbzqDxLxlngc
Solution: | JDbzqDx | 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: oWQhkExvWvTnZ, VePLkExvWvThlGgK
Solution: | kExvWvT | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Q: elloYaejTczBiiNOU, XoCPzloYaejTcXYtKODL
A: loYaejTc
****
Q: NUuLSmDjCKcJPc, lGGSLIDjCKcJBo
A: DjCKcJ
****
Q: kfvrkXBoQPtYWXRtSqHsum, bbNzIrIEoQPtYWXRtnPBWuEf
A: | oQPtYWXRt
****
| 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Q: lkFGXvTkKm, wwELXvTkcOnG
A: XvTk
****
Q: HaIPcFXLhYDp, AdIPcFXtJdRE
A: IPcFX
****
Q: avYYbx, jrYYUO
A: | YY
****
| 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example Input: fREVIdeTcakgFnwDWTVev, IbtXImseeTcakgFnwDYsKBAlux
Example Output: eTcakgFnwD
Example Input: VpJvIZdkzKovjc, BZEizZdkzKYZ
Example Output: ZdkzK
Example Input: MvALRGKkpALcKdhTtnm, neMkRGKkpALcKdcaxnXEPxW
Example Output: | RGKkpALcKd
| 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Ex Input:
kOrQWjLKnwN, xFsWjLKgr
Ex Output:
WjLK
Ex Input:
AxAmDG, LTAmEV
Ex Output:
Am
Ex Input:
Hyglbr, uwgliD
Ex Output:
| gl
| 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Ex Input:
fCGEhfHvcRouHzNw, gtjBkhfHvcRouHee
Ex Output:
hfHvcRouH
Ex Input:
MSxTzCpiJAplpzSvLlNJS, oScCpiJAplpNVrqkn
Ex Output:
CpiJAplp
Ex Input:
PEqwHkSDbqgWqHaGUxQkt, UaGRqxiwHkSDbqgWNOnMtXOzs
Ex Output:
| wHkSDbqgW
| 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Q: OgWFOfjNYmXVjBBvOdunIc, eGljKGnzFKFOfjNYmXVjdlqsT
A: FOfjNYmXVj
****
Q: HaLZdTX, tLLZdEXN
A: LZd
****
Q: ewATAzyyp, RiATAzgGC
A: | ATAz
****
| 4 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
[EX Q]: aZcGMvzBhazkCIFqpVe, AOljBvzBhazkWXeTuA
[EX A]: vzBhazk
[EX Q]: eNuawupVqQ, RIawuplUIf
[EX A]: awup
[EX Q]: VxaEvcnVqQOmjHX, jCauuEvcnVqEsmnRA
[EX A]: | EvcnVq
| 6 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example Input: QvtDqzQiSknPbRCG, hVxHdqzQiSknPbumdpNIf
Example Output: qzQiSknPb
Example Input: jXbgnl, lUbglP
Example Output: bg
Example Input: Kwmqdy, jSmqZO
Example Output: | mq
| 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Given the task definition, example input & output, solve the new input case.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Output: dQTlHH
Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input case for you: MvALRGKkpALcKdhTtnm, neMkRGKkpALcKdcaxnXEPxW
Output: | RGKkpALcKd | 1 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: hePlroRWRic, UBlroRWRRE
Solution: | lroRWR | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PPdQTlHHTJEe, DydQTlHHVnmlLu
Solution: dQTlHH
Why? Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
New input: DMxzLrOjXofblrdKrSBE, QpTmdwOjXofblrTYae
Solution: | OjXofblr | 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
--------
Question: OVVkkdeHoFlyNROyCP, zFVUJbvkkdeHoFlysF
Answer: kkdeHoFly
Question: kyADtWLlnmYv, tcaKvDtWLlnvBq
Answer: DtWLln
Question: bmsrkXGb, GcarkXOZF
Answer: | rkX
| 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Let me give you an example: PPdQTlHHTJEe, DydQTlHHVnmlLu
The answer to this example can be: dQTlHH
Here is why: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
OK. solve this:
bgbLLW, cJbLOq
Answer: | bL | 8 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
nYoRQU, gQoRZQ
oR
sdGIVJPsWWszKPCGk, ghRJPsWWszKcJUg
JPsWWszK
DMxzLrOjXofblrdKrSBE, QpTmdwOjXofblrTYae
| OjXofblr
| 0 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example Input: ftvxfhsnJEygzV, JYxSfhsnJnIqkW
Example Output: fhsnJ
Example Input: ktABEFESAVHZkkY, uMjxiESAVHZkZgWUte
Example Output: ESAVHZk
Example Input: fzRxrf, JWRxYU
Example Output: | Rx
| 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example input: PPdQTlHHTJEe, DydQTlHHVnmlLu
Example output: dQTlHH
Example explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: VNpzARNkxgsjD, oINkdzARNkMgWID
A: | zARNk | 3 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
instruction:
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
question:
rCFrfkmXbSHK, mztfkmXwez
answer:
fkmX
question:
aiqZheFuLtXAGRCGNBTAX, ssnVdztXAGRCGNBTIqmSJLZcy
answer:
tXAGRCGNBT
question:
VNpzARNkxgsjD, oINkdzARNkMgWID
answer:
| zARNk
| 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
OCCUbG, ubCUZT
Answer: | CU | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
One example is below.
Q: PPdQTlHHTJEe, DydQTlHHVnmlLu
A: dQTlHH
Rationale: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Q: AXsQiFtFDC, yAQiFtcLn
A: | QiFt | 9 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
zpmZnnvMXYeqMmLg, MPmZnnvMXYemODaITY
Answer: | mZnnvMXYe | 7 | NIv2 | task600_find_the_longest_common_substring_in_two_strings | fs_opt |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 6