Tutorial

Правка en2, от Sauravs_19, 2024-10-15 12:10:08

[contest:2025][problem:2025A] One approach to two screen is compare both string from starting of element. Iff match is there continue comparing and count no of characters matched as soon as the character differs even at the first index stop comparing Total time would be= count+1+(length of first String-count)+(length of second string -count)

Теги string match, iterative, string

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Sauravs_19 2024-10-15 12:10:08 0 (published)
en1 Английский Sauravs_19 2024-10-15 12:09:14 355 Initial revision (saved to drafts)