InterviewBit Problems
Implement StrStr : Solved
About the Implement StrStr : Solved category
(1)
Please Tell Error in this code, used kmp array,
(1)
One line answer using find() in C++ (if allowed to use)!
(1)
Simple standard method
(1)
Python one line
(1)
4 line if allowed to use stl function 'find'
(1)
Simple C++ Solution using substr() function
(2)
THE shortest solution in JAVA(one line)
(2)
Brute force soln
(1)
A simple solution but time complexity O(n*m)
(1)
C++ solution using KMP
(1)
Do interviewers expect students to know the KMP algorithm and solve it with that?
(2)
Can be solved faster than the given "fastest" Solution
(3)
Smallest python solution
(1)
The best solution(sliding window) o(n)
(2)
Well-Explained C++ Solution using KMP Algorithm
(1)
Simple C++ solution using substr()
(1)
Simple and easy c++ sol..!
(1)
C++ easy soln__
(1)
Few lines of code with O(n) time complexity
(2)
Z-Algorithm in O(n)
(1)
Implementation strStr (easy and faster solution)
(1)
Simple Python 3 Solution
(1)
Most Simple C++ solution
(2)
A simple python solution could be this
(1)
Neat python code. I wish I could give my algorithm a fancy name
(1)
O(n+m) using LPS:
(1)
8 line submitted code in c++
(1)
Just 4 Lines code | C++ | STL | using size_t
(1)
Simple C++ Solution without STL:
(1)
next page →