subject

Consider three strings instr1, instr2 and instr3 having only lowercase alphabets. Identify a string, outstr with the smallest possible length such that when strings instr1, outstr and instr2 are concatenated in the same order, instr3 becomes a substring of the concatenated string. Print the smallest possible length of (instr1 + outsrt + instr2) satisfying the given criteria. The string outstr can also be an empty string
Input format
The first, second and third line contain strings insrt1,instr2 and instr3 respectivley
Read the input from the standard input stream.
Output format
Print the smallest possible length of (instr1 + outstr + instr2) satisfying the given criteria.
Print the output to the standard output stream.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
question
Computers and Technology, 24.06.2019 06:30
Adrawing that places all lines parallel to the z axis at an angle from the horizon is 99 ! a. an oblique drawing b. a perspective drawing c. an auxiliary view d. a one-point perspective drawing
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
1. which of these is not true about torsion bars? a. they can be used to adjust ride height b. they can be adjusted anytime since they don't affect alignment angles c. they attach between the frame and the lower control arm d. they twist to produce a spring effect
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Type the correct answer in the box. spell all words correctly. what is the default margin width on all four sides of a document? by default, the document has a margin on all four sides.
Answers: 1
You know the right answer?
Consider three strings instr1, instr2 and instr3 having only lowercase alphabets. Identify a string,...
Questions
question
Chemistry, 07.10.2020 01:01
question
Engineering, 07.10.2020 01:01
question
History, 07.10.2020 01:01
question
Arts, 07.10.2020 01:01
question
Mathematics, 07.10.2020 01:01
question
English, 07.10.2020 01:01
question
Mathematics, 07.10.2020 01:01
question
Mathematics, 07.10.2020 01:01
Questions on the website: 13722363