AlgoChief
AlgoChief
  • 76
  • 28 445
Codeforces Round 971 F. Firefly's Queries | Detailed Video Editorial
Codeforces Round 971 Div. 4 F. Firefly's Queries
Codeforces Firefly's Queries Solution
Firefly's Queries Codeforces Solution
Firefly's Queries Codeforces Easy Solution
Subscribe and never miss a tutorial !!
czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html
0:00 - Question Explanation
0:32 - Testcase Explanation
2:40 - Find Function Logic
7:10 - Code Explanation
zhlédnutí: 141

Video

Codeforces 971 E. Klee's SUPER DUPER LARGE Array!!! | Detailed Video Editorial
zhlédnutí 196Před 9 hodinami
Codeforces Round 971 Div. 4 E - Klee's SUPER DUPER LARGE Array!!! Codeforces Klee's Super Duper Large Array Solution Klee's Super Duper Large Array Codeforces Solution Klee's Super Duper Large Array Codeforces Easy Solution Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 0:40 - Testcase Explanation 1:50 - Binary Search idea 4:15...
Codeforces Edu Round 169 D - Colored Portals | Detailed Video Editorial
zhlédnutí 284Před 21 dnem
Codeforces Educational Round 169 D - Colored Portals | Detailed Video Editorial | English Language Codeforces Coloured Portals Solution Codefores Round 169 Solutions Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 1:05 - Testcase Explanation 2:55 - Cases to think about 3:35 - Thinking about middle step 8:54 - Code Explanation
Codeforces Round 963 C - Light Switches | Detailed Video Editorial
zhlédnutí 945Před měsícem
Codeforces Round 963 C - Light Switches | Detailed Video Editorial | English Language Codeforces Round 963 C Solution Codeforces Light Switches Solution Light Switches Codeforces Solution Codeforces 963 C Light Switches Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 2:10- Range Shortening 4:00 - 3rd test case explanation 4:38 -...
Codeforces Round 963 B - Parity and Sum | Detailed Video Editorial
zhlédnutí 229Před měsícem
Codeforces Round 963 B - Parity and Sum | Detailed Video Editorial | English Language Codeforces Round 963 B Solution Codeforces Parity and Sum Solution Parity and Sum Codeforces Solution Codeforces 963 B Parity and Sum Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 2:23 - Testcase Explanation 3:07 - When Odd is less than Even ...
Dynamic Programming - Basics and How to Approach | AlgoChief's DSA Course
zhlédnutí 125Před měsícem
Everything you need to learn about dynamic programming to master competitive programming and dsa questions To solve questions : algochief.com/contest-load?id=25 Visit algochief.com and understand data structures better using our data structure visualizer Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Introduction 0:15 - Types of Dynamic Programming...
Codeforces Edu Round 168 D - Maximize the Root | Detailed Video Editorial
zhlédnutí 227Před měsícem
Codeforces Edu Round 168 D - Maximize the Root | Detailed Video Editorial | English Language Codeforces Educational Round 168 Solution Codeforces Edu Round 168 D Solution Codeforces Edu Round 168 D - Maximize the root Codeforces Educational Round 168 D - Maximize the Root Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 1:06 - Te...
Codeforces Pinely Round 4 C - Absolute Zero
zhlédnutí 223Před měsícem
Codeforces Pinely Round 4 C : Absolute Zero | Detailed Video Editorial | English Language Codeforces Pinely Round 4 C Codeforces Pinely Round 4 C Absolute Zero Absolute Zero Codeforces Pinely Round 4 C Easy Solution Absolute Zero Codeforces Pinely Round 4 C Best Solution Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 0:48 - -1 ...
Codeforces Round 961 Div.2 B - Bouquet | B1 - Bouquet (Easy Version) | B2 - Bouquet (Hard Version)
zhlédnutí 1,8KPřed měsícem
Codeforces Round 961 B : Bouquet | Detailed Video Editorial | English Language Codeforces Round 961 B1 Bouquet (Easy Version) Codeforces Round 961 B2 Bouquet (Hard Version) Codeforces 961 Bouquet Codeforces 961 B1 B2 Bouquet Hard Version Codeforces Solution Bouquet Codeforces Solution Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanat...
Codeforces Round 958 C - Increasing Sequence with Fixed OR | Detailed Video Editorial
zhlédnutí 706Před měsícem
Codeforces Round 958 C : Increasing Sequence with Fixed OR | Detailed Video Editorial | English Language | Bitmasks Increasing Sequence with Fixed OR Codeforces Solution Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 1:07 - Bits Configuration 4:35 - Reasons for which bit flip 7:29 - Code Explanation
CodeChef Starters 142 - Number Hunt | Detailed Video Editorial | Number Hunt Codechef Solution
zhlédnutí 121Před měsícem
CodeChef Starters 142 Number Hunt Detailed Video Editorial Number Hunt CodeChef 142 solution Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 0:50 - Building Answer 3:13 - Why Compulsorily 2 Prime Numbers 5:38 - Code Explanation
Codeforces Round 956 C - Have Your Cake and Eat it Too | Detailed Video Editorial
zhlédnutí 232Před 2 měsíci
Codeforces Round 956 C : Have Your Cake and Eat it Too | Detailed Video Editorial | English Language | Two Pointers Greedy Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 1:30 - Possible Configurations 4:20 - Testcase Explanation 6:45 - Code Explanation
CodeChef Starters 141 - Perfect Prefixes | Detailed Video Editorial
zhlédnutí 361Před 2 měsíci
CodeChef Starters 141 Perfect Prefixes Detailed Video Editorial Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 0:43 - What is beauty of an array 2:15 - Basics of a DP question 2:20 - DP States 3:27 - DP Transition 8:47 - Code Explanation
CodeChef Starters 141 - Amphibian Escape
zhlédnutí 138Před 2 měsíci
CodeChef Starters 141 Amphibian Escape Detailed Video Editorial Subscribe and never miss a tutorial !! czcams.com/channels/ZhIVX3stdZPH8MimLUauZQ.html 0:00 - Question Explanation 1:05 - Testcase Explanation 1:54 - Formula Derivation 3:15 - Cancelling out terms 4:24 - Answer 6:40 - Code Explanation
Codeforces EPIC Institute Round C - Basil's Garden | Detailed Video Editorial
zhlédnutí 570Před 2 měsíci
Codeforces EPIC Institute Round C - Basil's Garden | Detailed Video Editorial
Codeforces EPIC Institute Round B - K Sort | Detailed Video Editorial
zhlédnutí 1,2KPřed 2 měsíci
Codeforces EPIC Institute Round B - K Sort | Detailed Video Editorial
Codeforces EPIC Institute Round A - Upload More RAM | Detailed Video Editorial
zhlédnutí 177Před 2 měsíci
Codeforces EPIC Institute Round A - Upload More RAM | Detailed Video Editorial
Codeforces Edu Round 167 B - Substring and Subsequence | Detailed Video Editorial
zhlédnutí 946Před 2 měsíci
Codeforces Edu Round 167 B - Substring and Subsequence | Detailed Video Editorial
Codeforces Edu Round 167 C - Two Movies | Detailed Video Editorial
zhlédnutí 900Před 2 měsíci
Codeforces Edu Round 167 C - Two Movies | Detailed Video Editorial
Codeforces Round 955 C - Boring Day | Detailed Video Editorial
zhlédnutí 476Před 2 měsíci
Codeforces Round 955 C - Boring Day | Detailed Video Editorial
Binary Search Principles | AlgoChief DSA Course
zhlédnutí 121Před 2 měsíci
Binary Search Principles | AlgoChief DSA Course
Codeforces Round 954 E - Beautiful Array
zhlédnutí 431Před 2 měsíci
Codeforces Round 954 E - Beautiful Array
Codeforces Round 954 C - Update Queries | Detailed Video Explaination
zhlédnutí 409Před 2 měsíci
Codeforces Round 954 C - Update Queries | Detailed Video Explaination
Codeforces Round 954 D - Mathematical Problem | Detailed Video Editorial
zhlédnutí 426Před 2 měsíci
Codeforces Round 954 D - Mathematical Problem | Detailed Video Editorial
Solve any Two Pointer Problem with this Technique | AlgoChief's DSA Course
zhlédnutí 166Před 2 měsíci
Solve any Two Pointer Problem with this Technique | AlgoChief's DSA Course
Codeforces Round 953 C - Manhattan Permuations | Detailed Video Editorial
zhlédnutí 950Před 2 měsíci
Codeforces Round 953 C - Manhattan Permuations | Detailed Video Editorial
Codeforces Round 953 D - Elections | Detailed Video Editorial
zhlédnutí 213Před 2 měsíci
Codeforces Round 953 D - Elections | Detailed Video Editorial
Codeforces Round 952 F - Boss Fight | Priority Queues and Maps
zhlédnutí 832Před 2 měsíci
Codeforces Round 952 F - Boss Fight | Priority Queues and Maps
Maps and Sets | AlgoChief's DSA Course | Techniques and Tricks
zhlédnutí 102Před 2 měsíci
Maps and Sets | AlgoChief's DSA Course | Techniques and Tricks
Codeforces Global Round 26 C1 - Magnitude Easy Version
zhlédnutí 1,4KPřed 2 měsíci
Codeforces Global Round 26 C1 - Magnitude Easy Version

Komentáře

  • @user-jd5vb3cv3z
    @user-jd5vb3cv3z Před dnem

    excellent explanation thanks bro

  • @tajwarulchowdhury8164

    can you please explain the formula? (r * (r + 1) / 2) - ((l * (l - 1)) / 2) + ((r - l + 1) * k) i got the first part but why are you doing (r - l + 1) * k?? thanks in advance

    • @formidablechief27
      @formidablechief27 Před 4 dny

      Because see The prev formula was 1+2+3+4....n Now i have to add k to all of the nums right Hence r - l + 1 is the number of numbers and i have to increase all by k

  • @CuriousSarah
    @CuriousSarah Před 4 dny

    Og✨✨

  • @CuriousSarah
    @CuriousSarah Před 4 dny

    Og✨

  • @formidablechief27
    @formidablechief27 Před 4 dny

    Detailed Video Editorial - codeforces.com/contest/2009/submission/279565464

  • @formidablechief27
    @formidablechief27 Před 4 dny

    Accepted Sub Link : codeforces.com/contest/2009/submission/279520765

  • @md.yasirarafat4581
    @md.yasirarafat4581 Před 6 dny

    you're doing great.

  • @CuriousSarah
    @CuriousSarah Před 15 dny

    Loved the visualizerrr concept! and summarized so well !

  • @bhag7768
    @bhag7768 Před 19 dny

    Amazing

  • @bhag7768
    @bhag7768 Před 23 dny

    THE LEGEND IS BACK

  • @PoojaGawade-ck8vu
    @PoojaGawade-ck8vu Před 23 dny

    After so long!! Nice one✨✨✨✨

  • @formidablechief27
    @formidablechief27 Před 23 dny

    Java Sub Link : codeforces.com/contest/2004/submission/276649114 C++ Logic : pastebin.com/uWtf0gkF

  • @anmolgaur4284
    @anmolgaur4284 Před 25 dny

    but why to run for min(2^n , k)

    • @formidablechief27
      @formidablechief27 Před 25 dny

      If k is very small then we will run for k operations But if k is very big, we run for 2n operations

  • @plutomessi21
    @plutomessi21 Před 26 dny

    thank you so much <3

  • @Tech-Tonic-Tales
    @Tech-Tonic-Tales Před měsícem

    Bro for test case - 5 2 100 1000 1000000. Output should be 7 right?

    • @formidablechief27
      @formidablechief27 Před měsícem

      Ans shd be 5

    • @Tech-Tonic-Tales
      @Tech-Tonic-Tales Před měsícem

      @@formidablechief27 how bro? 1) 5 +2 = 7 2) 7+100 = 107 3) 107+100 = 207 4) 1000 +207 = 1207 5) 1000 + 1207 = 2207 6) 2207 + 1000000 = 1002207 7) 1000000 + 1002207 = 2002207 Total 7 operations.

    • @formidablechief27
      @formidablechief27 Před měsícem

      @Tech-Tonic-Tales Op1 : 5 2 becomes 7 Op2 and 3 : 7 1000000 Op4 : 2000007 1000 Op 5 : 20000..7 100

  • @akshatsharma5426
    @akshatsharma5426 Před měsícem

    why did you directly add ele and left ?

    • @formidablechief27
      @formidablechief27 Před měsícem

      That was the part which took me most of the time during contest. So i wrote down a few cases and realised at the end how much ever k we have left, we can just buy whatever because we can buy inifnitely right. Suppose if my made array after buying is 1234 and my n is 4 And i have suppose 3 left So i can buy a 1, a 2, and a 3 and to add 3 more subarrays. Resulting in now 1 2 3 4 1 2 3 So adding left was giving right for all tests which i had made and hence i submitted that

  • @PratikDongare-r2e
    @PratikDongare-r2e Před měsícem

    Good explanation

  • @formidablechief27
    @formidablechief27 Před měsícem

    Java : codeforces.com/contest/1993/submission/274374162 C++ : After system testing

  • @formidablechief27
    @formidablechief27 Před měsícem

    Java Solution : codeforces.com/contest/1993/submission/274354318 C++ : codeforces.com/contest/1993/submission/274424908

  • @blessmewithlight
    @blessmewithlight Před měsícem

    very nice explanation thanku so much subscribed

  • @PoojaGawade-sb1um
    @PoojaGawade-sb1um Před měsícem

    Useful content ⚡🫡

  • @CuriousSarah
    @CuriousSarah Před měsícem

    Thank you✨

  • @formidablechief27
    @formidablechief27 Před měsícem

    Questions for solving : algochief.com/contest-load?id=25

  • @formidablechief27
    @formidablechief27 Před měsícem

    Another DP Problem for Practice : czcams.com/video/_GLRN690L0I/video.html

  • @formidablechief27
    @formidablechief27 Před měsícem

    C++ : codeforces.com/contest/1997/submission/273597512 Java : codeforces.com/contest/1997/submission/273566199

  • @bhag7768
    @bhag7768 Před měsícem

    Amazing

  • @PoojaGawade-ck8vu
    @PoojaGawade-ck8vu Před měsícem

    Good Explanation🙌🙌

  • @formidablechief27
    @formidablechief27 Před měsícem

    Accepted Code Link : codeforces.com/contest/1991/submission/273165727

  • @joj0ukey31
    @joj0ukey31 Před měsícem

    I saw your cf profile. I was shocked that how much you grinded in such a short amount of time great work Also me got inspired from the numbers of question you have solved

  • @Jinxed192
    @Jinxed192 Před měsícem

    hello bhai, thanks for this video, i could solve only A and B1, and was stuck at B2, this video really helped! Also, I am just starting to give contests in cf, in situations like these when i am not able to solve even half of the ques, should i just upsolve one ques? Is it fine? Just curious ki aapne kitne solve kiye... Once again thanks for this nice explaination...

    • @formidablechief27
      @formidablechief27 Před měsícem

      Yes you upsolve those which u couldnt solve in contest Definetely helps before next contest I solved A B1B2 very fast but for C i couldnt figure out how to fix my tle

  • @zeroexploit-c4y
    @zeroexploit-c4y Před měsícem

    hey brother i started my cf journy 3 months back solved around 115 questions . when i participate in contest i could barely solve 1 question , so i get demotivated enough , just want to ask what are the min normal question i must solved to perform good in contest ,and after how many ques u started participating in cf contest ???

    • @formidablechief27
      @formidablechief27 Před měsícem

      my first cf question solved was in a cf contest in the beginning i could solve A and i used to upsolve B send me ur profile link ill have a look once and say what u can do now to improve

    • @zeroexploit-c4y
      @zeroexploit-c4y Před měsícem

      @@formidablechief27 that means I am noob ig how to work upon my coding skills???

    • @formidablechief27
      @formidablechief27 Před měsícem

      Send ur profile, ill see and let u know

    • @zeroexploit-c4y
      @zeroexploit-c4y Před měsícem

      @@formidablechief27 my cf@ is zoxy-arch tell me where I have to improve my self

    • @zeroexploit-c4y
      @zeroexploit-c4y Před měsícem

      @@formidablechief27 zoxy-arch thats my pp

  • @priyanshuplays9457
    @priyanshuplays9457 Před měsícem

    great explanation :)

  • @Solo-Here
    @Solo-Here Před měsícem

    bhai app tutorial bnataa rho it helps thanks

  • @crazytourist6619
    @crazytourist6619 Před měsícem

    Good Explanation ✨

  • @PoojaGawade-sb1um
    @PoojaGawade-sb1um Před měsícem

    Great ✨✨

  • @formidablechief27
    @formidablechief27 Před měsícem

    B1 : Java => codeforces.com/contest/1995/submission/272097013 B2 : Java => codeforces.com/contest/1995/submission/272103616 B2 : C++ => codeforces.com/contest/1995/submission/272173567

  • @liuyang-w3u
    @liuyang-w3u Před měsícem

    有没有中文版

    • @formidablechief27
      @formidablechief27 Před měsícem

      aah no there isnt a chinese version, i dont speak chinese

  • @liuyang-w3u
    @liuyang-w3u Před měsícem

    有中文吗

  • @anuragbhanu2890
    @anuragbhanu2890 Před měsícem

    Amazing. Is there any specific type of intutation/prove behind it or this clicked by just observing TC?

    • @formidablechief27
      @formidablechief27 Před měsícem

      Yup the samples had the clue that such procedure was to be followed. Plus i couldnt find any further combinations to make elements so i went forward with this

  • @sumitawasthi7068
    @sumitawasthi7068 Před měsícem

    Please Explain D also

  • @PoojaGawade-sb1um
    @PoojaGawade-sb1um Před měsícem

    That's amazing ✨✨

  • @bhag7768
    @bhag7768 Před měsícem

    i couldnt solve this problem, this helped me greatly

  • @SIHWork
    @SIHWork Před měsícem

    great video !!!

  • @formidablechief27
    @formidablechief27 Před měsícem

    Java Solution : codeforces.com/contest/1988/submission/270670196 C++ Solution : codeforces.com/contest/1988/submission/270742869

  • @sungyukwon2749
    @sungyukwon2749 Před měsícem

    Great Video. Just Subscribed