In this video, we are explaining a very important useful algorithm used in competitive programming i.e, Z algorithm from scratch. Please see the full video and we guarantee you it will be worth watching. Code link: https://ideone.com/ZrBub5 Practice problem: https://codeforces.com/problemset/problem/126/B soln link: https://ideone.com/qKivcB https://www.codechef.com/problems/CHEFSHIP https://www.codechef.com/problems/CDVA1606 timestamps: 00:00 - algorithm intro 05:31 - use of algorithms in problems 13:03 - how to create z array optimally 17:18 - conditions 27:58 - Example runthrough 39:37 - Code 47:48 - time complexity of algorithm For any queries: contact us at cp.gatecs@gmail.com Follow us on-- @facebook:- https://www.facebook.com/Quarantine-Engineers-107789377679897/ @linkedin :- https://www.linkedin.com/company/quarantine-engineers @instagram :-https://www.instagram.com/quarantine_engineers/ @telegram :-https://t.me/quarantine_engineers ********************** credits ************************ Edited by - mayanksneh60@gmail.com video : mixkit.co audio : mixkit.co text templates : mixkit.co #Z #algorithm #string #QuarantineEngineers

I am Back | Problem D,C,B | Codeforces Round-812(Div-2) | Live Chat
802 views

Problem A,B,C,D1,D2 | Codeforces Global Round 16 | Live Chat
3.8K views

Problem C,B,A | Codeforces Round-742(Div-2) | Live Chat
2.1K views

Problem A,B,C,D1 | Codeforces Round-740(Div-2, based on VK Cup 2021- Final (Engine) | Live Chat
6.6K views

Problem A,B,C,D | Codeforces Round-735(Div-2) | D Ne Bacha Liya!!
6.6K views

Problem A,B1,B2,C | Codeforces Round-734(Div-3) | Live Chat
5.2K views