Represented IIIT Agartala at the ICPC Amritapuri Regional Contest with team TLE.exe 🤝
5 hours of focused problem solving, discussion, and debugging.
Solved 3 problems, narrowly missing the next.
Clear takeaways and strong motivation to improve. 💻🔥
#ICPC#CP#TeamWork
-> LEETCODE POTD
Brute - For every index, calculate the sum of distances of all the filled boxes from the current one.
Optimal - For every index, keep the track of sum of distances of the filled boxes before and after the current index.
#Leetcode