Vigyata.AI
Is this your channel?

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

6.6K views· 307 likes· 73:31· Jul 30, 2021

🛍️ Products Mentioned (7)

Link to Solutions:https://codeforces.com/contest/1554/submission/124130848 https://codeforces.com/contest/1554/submission/124194479https://codeforces.com/contest/1554/submission/124192405 https://codeforces.com/contest/1554/submission/124181365 Hey, My name is Mihir Singh I am an active competitive programmer. You can connect with me here: My codeforces profile: https://codeforces.com/profile/kassutta My LinkedIn profile: https://www.linkedin.com/in/mihir-singh-848531170 My instagram profile: https://www.instagram.com/mihirre_singh/ Use Special Code MIHIR10 to get 10% off on your Unacademy Subscription 10% Discount on any GFG course, Use Code: MIHIR DSA self-paced: https://practice.geeksforgeeks.org/courses/dsa-self-paced Link to all courses: https://practice.geeksforgeeks.org/courses/online Timestamps: For any queries: contact us at cp.gatecs@gmail.com Follow us on-- @discord:- https://discord.com/invite/6kcmVQx8Fx @facebook:- https://www.facebook.com/Quarantine-Engineers-107789377679897/ @linkedin :- https://www.linkedin.com/company/quarantine-engineers @instagram :-https://www.instagram.com/quarantine_engineers/ @telegram(Channel) :- https://t.me/quarantine_engineers @telegram(Discussion Forum) :- https://t.me/qe_discussion #Codeforces #735 #DIV2

About This Video

इस Codeforces Round 735 (Div 2) वाली stream में मैंने A, B, C, D चारों problems पर अपनी contest वाली thinking शेयर की है—और honestly, D ने तो मुझे “गिरते-गिरते” बचाया भी। A/B/C relatively easy थे, लेकिन मेरी असली सीख D से निकली: कई बार contest में logic तुरंत नहीं बैठता, तब मैं brute force से pattern निकालता हूं, पहले validate करता हूं कि pattern सच में बन रहा है या नहीं, और फिर उसी pattern को final solution में print कर देता हूं। मैंने यही approach D में किया—पहले छोटे n पर generate करके देखा, pattern समझा, और फिर fast तरीके से construct करके submit किया। C में मैंने mex + bitwise OR वाली property पर focus किया: target inequality satisfy कराने के लिए मैं most significant bit से greedy तरीके से k बनाता हूं ताकि k minimum रहे और condition भी hold हो जाए। ये वही type की problem है जो पहली बार में “easy” नहीं लगती, लेकिन अगर OR की properties clear हों और practice हो, तो सीधा निकल जाती है। Overall takeaway: जब contest में brain freeze हो, brute force + observation से pattern पकड़ो, और फिर clean deterministic solution लिखो—बस blind मत जाओ, पहले check जरूर करो।

Frequently Asked Questions

🎬 More from Quarantine Engineers