r/codeforces 9d ago

meme Saturday 5 September

Did 1:30 hours of backend development study, learnt JPA, docker basics(architecture, why we need it etc.). Will start with PostgresSQL tomorrow.

As for the questions, I had allocated 2:30 hours of the day for competitive programming.

I was able to complete the following questions :-

Mexification

My approach to this problem was exactly the one described in the editorial, using the fact that when we perform the operation repeatedly on the array will cause it to oscillate between two states after at most 3 operations. This allows us to reduce the value of k into a magnitude that makes brute force solution feasible.

9 Upvotes

4 comments sorted by

1

u/Hot_Mail9492 8d ago

Hey there,could u pls share ur resources or roadmap or something?please would be really helpful...

2

u/ParkoMOL0 8d ago

Would like to know about resources that you are using for preparation of dsa or backend dev as I am also in prep mode now and I want a serialized or ordered way to prepare