diff --git a/PLACEMENT & INTERNSHIP EXAM QUESTIONS/PUBLICIS SAPIENT/maximum length binary substring with atmost k zeroes b/PLACEMENT & INTERNSHIP EXAM QUESTIONS/PUBLICIS SAPIENT/maximum length binary substring with atmost k zeroes new file mode 100644 index 0000000..4f6f2cb --- /dev/null +++ b/PLACEMENT & INTERNSHIP EXAM QUESTIONS/PUBLICIS SAPIENT/maximum length binary substring with atmost k zeroes @@ -0,0 +1,61 @@ +#include +using namespace std; + +int main() +{ + string s; int k; cin>>s>>k; int n=s.length(); + + int start=0,end=0,zeroes=0, ans=INT_MIN,win_len=0; bool flag=false; + + for(int i=0;i