Daily (131 day streak)
At first problem seems like bullshit, but let me rephrase it. You have result array expressed as
You are given k - the number of consecutive elements you can change in the way that first
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-using-strategy/description/?envType=daily-question&envId=2025-12-18
#daily #medium
At first problem seems like bullshit, but let me rephrase it. You have result array expressed as
result[i] = prices[i] * strategy[i]. You need to maximize sum of result array:sum(result).You are given k - the number of consecutive elements you can change in the way that first
k / 2 are 0, and last k / 2 are prices[i] * 1. Find the change of k consecutive elements that will give the maximum sum (result)https://leetcode.com/problems/best-time-to-buy-and-sell-stock-using-strategy/description/?envType=daily-question&envId=2025-12-18
#daily #medium
๐2
It is my last 2 weeks at Microsoft, and you should know that IT admins are watching your operations on machine etc during these last weeks.
AAAAAAAAAAND my manager gave me a task to delete unused storages in Azure.
I dropped like 50-80 instances huge instances, hundreds of thousands dollars worth infra.
Imagine, somebody would check my logs. The guy resigned and in 2 weeks dropped majority of storages from azure worth of hundreds k dollars.
AAAAAAAAAAND my manager gave me a task to delete unused storages in Azure.
I dropped like 50-80 instances huge instances, hundreds of thousands dollars worth infra.
Imagine, somebody would check my logs. The guy resigned and in 2 weeks dropped majority of storages from azure worth of hundreds k dollars.
๐16
Daily (133 day streak)
Happy Saturday, today is easy one so that you can chill after hard week.
https://leetcode.com/problems/delete-columns-to-make-sorted/description/?envType=daily-question&envId=2025-12-20
#daily #easy
Happy Saturday, today is easy one so that you can chill after hard week.
https://leetcode.com/problems/delete-columns-to-make-sorted/description/?envType=daily-question&envId=2025-12-20
#daily #easy
๐3
Daily (134 day streak)
Somehow this shit was extremely hard for me, but the problem is not bad. Attaching visualization provided by some guy that can help.
https://leetcode.com/problems/delete-columns-to-make-sorted-ii/description/?envType=daily-question&envId=2025-12-21
#daily #medium
Somehow this shit was extremely hard for me, but the problem is not bad. Attaching visualization provided by some guy that can help.
https://leetcode.com/problems/delete-columns-to-make-sorted-ii/description/?envType=daily-question&envId=2025-12-21
#daily #medium
๐ฅ4
Daily (135 day streak)
I would say not easy to build an intuition a bit. But doable.
https://leetcode.com/problems/delete-columns-to-make-sorted-iii/description/?envType=daily-question&envId=2025-12-22
#daily #hard
I would say not easy to build an intuition a bit. But doable.
https://leetcode.com/problems/delete-columns-to-make-sorted-iii/description/?envType=daily-question&envId=2025-12-22
#daily #hard
andreyka26_se
The best thing you can do to your colleagues is to select this option
2 persons asked me to do this explicitly xD