Topview Logo
  • Create viral videos with
    GPT-4o + Ads library
    Use GPT-4o to edit video empowered by Youtube & Tiktok & Facebook ads library. Turns your links or media assets into viral videos in one click.
    Try it free
    gpt video

    Day 166 Of Doing Codeforces Everyday Until I Reach Expert

    blog thumbnail

    Introduction

    Hello everyone! Today marks the 166th day of my daily participation in Codeforces until I reach the Expert level. Lately, I've noticed that the Codeforces website is a bit laggy for me. While my connection seems fine when accessing platforms like LeetCode or CSES, Codeforces takes quite a while to load. It’s frustrating at times, but let’s not dwell on that. Instead, let’s dive into some problems.

    Problem Exploration

    I’m planning to tackle Problem E from the latest Division 4. Although it might not be overly complex, I anticipate that it will still require some time to solve. Aside from that, I aim to shift my focus to learning new algorithms instead of sticking solely to greedy approaches and implementation problems on Codeforces, as they can become rather tedious.

    The Problem Breakdown

    The task involves an array of integers, where I need to choose an index to minimize the value of X, based on a set of operations. The key here is to divide the array into two segments, one positive and the other negative. Initially, I struggled to comprehend the details of the problem, particularly the mathematical components involved.

    Understanding the Solution Approach

    As I reflected upon the problem, it struck me that it bears similarities to a problem I had encountered and solved earlier in the day, which involved dividing numbers into two groups to minimize their difference. This realization motivated me to attempt a binary search strategy, even though I doubted its effectiveness due to the problem's nature.

    After much brainstorming and debugging, I was able to formulate a strategy to approach the problem. Despite my initial confusion, I made it through and submitted my solution. To my delight, it was accepted.

    Transitioning to Other Platforms

    Once I completed the Codeforces problem, I felt compelled to switch gears and explore exercises on other platforms like LeetCode and CSES, particularly focusing on medium-level problems. One of the challenges involved flipping three consecutive elements in a binary array to convert all numbers to 1. This required analyzing conditions under which it would be impossible to achieve the desired outcome, leading to a robust discussion regarding the structure of the array.

    Through various examples, I was able to piece together a solution, albeit with standard methods. I learned that, even in situations where I might hit a wall, perseverance pays off. After completing a few more problems on LeetCode, I found myself reflecting on the importance of diversifying my training across different platforms.

    Conclusion

    Reflecting on my progression thus far, I realize that while I may not have completed an overwhelming number of problems, each day brings new insights. I concluded today’s session feeling accomplished and looking forward to the next challenges that await.


    Keyword

    • Codeforces
    • Expert Level
    • Problems
    • Algorithms
    • Greedy Approach
    • Binary Search
    • Problem E
    • Transition
    • LeetCode
    • CSES
    • Training

    FAQ

    Q1: How many days have you been doing Codeforces?
    A1: I have been participating in Codeforces every day for 166 days as I work towards reaching the Expert level.

    Q2: Why did you switch from Codeforces to LeetCode?
    A2: I transitioned to LeetCode to explore and learn new algorithms, moving beyond the implementation-heavy problems on Codeforces that can sometimes feel monotonous.

    Q3: What type of problems do you find engaging?
    A3: I find problems that challenge my understanding of algorithms and data structures to be the most engaging. I prefer not to rely solely on greedy strategies.

    Q4: How do you assess your progress?
    A4: I assess my progress by the understanding I gain from solving various problems and the breadth of topics I can tackle, noting improvements in my approach and techniques.

    Q5: Do you have any specific goals for your training?
    A5: Yes, my primary goal is to become an Expert on Codeforces, but I also aim to become proficient in algorithmic problem-solving across multiple platforms.

    One more thing

    In addition to the incredible tools mentioned above, for those looking to elevate their video creation process even further, Topview.ai stands out as a revolutionary online AI video editor.

    TopView.ai provides two powerful tools to help you make ads video in one click.

    Materials to Video: you can upload your raw footage or pictures, TopView.ai will edit video based on media you uploaded for you.

    Link to Video: you can paste an E-Commerce product link, TopView.ai will generate a video for you.

    You may also like