mirror of
https://github.com/Manoj-HV30/dsa-competitive-programming.git
synced 2026-05-16 19:35:22 +00:00
leetcode new problems
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class Solution{
|
||||
public :
|
||||
int strStr(string haystack, string needle){
|
||||
if(needle.empty()) return 0;
|
||||
int n = haystack.length(), m = needle.length();
|
||||
for(int i =0;i<=n-m; i++){
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user