+ 1

Ethical hacker asked to find vulnerabilities in transaction id input should a string(S) value only having lower case letters

S[i]€[a,z] and K is the possible keys,if there exist at least one character C€[a,z] in each and every substring of S of length K key of ID is the minimum of such possible Ks. some test cases:- input-zbcde output-3 input-bbbbb output-1 input-zbzczbz output-2

21st Jan 2018, 2:34 PM
Nikhil Kohli
Nikhil Kohli - avatar
3 ответов
+ 1
You could further improve this by hashing the input first, but this is quite powerful nonetheless.
21st Jan 2018, 4:23 PM
Lil Taco
Lil Taco - avatar
+ 1
please help me out of this question im not able to do this question...please
22nd Jan 2018, 1:14 PM
Nikhil Kohli
Nikhil Kohli - avatar
+ 1
any one has aanwer please tell i m still getting wrong answer
25th Jan 2018, 5:28 AM
Nikhil Kohli
Nikhil Kohli - avatar