You know, I think I got the meaning. I am 25, half of me is already in crisis of middle age. But I just got one thing:
Happiness, is when you have these 15 eur to order sushi, so you have a bit of dinner, and then you perform big impact and lay down. While you are trying to fall asleep - you realise: โfuck Im hungryโ. Then you go get your sushi that you left finish them, make yourself sandwich on top, and eat it. This is it, THE MEANING.
ยฉ poor MS engineer from nowhere
Happiness, is when you have these 15 eur to order sushi, so you have a bit of dinner, and then you perform big impact and lay down. While you are trying to fall asleep - you realise: โfuck Im hungryโ. Then you go get your sushi that you left finish them, make yourself sandwich on top, and eat it. This is it, THE MEANING.
ยฉ poor MS engineer from nowhere
๐9๐คฏ6๐คฎ1
Today's daily:
https://leetcode.com/problems/fruits-into-baskets-iii/description/?envType=daily-question&envId=2025-08-06
same as yesterday's, but O(n^2) will give you TLE. So you need to implement something smarter. Somebody mentioned segment tree yesterday, so you were right xDD
Hint1:first approach would be to think about splitting the basket somehow, with aggregated maxes(easy solution) Sqrt time complexity
Hint2: segment tree ๐๐๐(second, more optimized, but hard to implement) Log time complexity
#daily
https://leetcode.com/problems/fruits-into-baskets-iii/description/?envType=daily-question&envId=2025-08-06
same as yesterday's, but O(n^2) will give you TLE. So you need to implement something smarter. Somebody mentioned segment tree yesterday, so you were right xDD
Hint1:
Hint2:
#daily
LeetCode
Fruits Into Baskets III - LeetCode
Can you solve this real interview question? Fruits Into Baskets III - You are given two arrays of integers, fruits and baskets, each of length n, where fruits[i] represents the quantity of the ith type of fruit, and baskets[j] represents the capacity of theโฆ
โค2
andreyka26_se
Asked copilot to prove me that .net/c# linq .GroupBy() will retain the order within the group as in original sequence. This guy has an ability to simulate .net test with python, I'm impressed a lot
I'm so happy that MS pays for this shit, not me
๐2
This media is not supported in your browser
VIEW IN TELEGRAM
When you check Leetcode solution with some very โintuitiveโ recursive calls
๐10๐ฅ2
Today's daily:
https://leetcode.com/problems/find-the-maximum-number-of-fruits-collected/description/?envType=daily-question&envId=2025-08-07
The reminder to carefully read the description. If you apply all the constraints from the problem there and aply basic logic + dp - it will be eas yto solve. I would say this one should be mid
#daily
https://leetcode.com/problems/find-the-maximum-number-of-fruits-collected/description/?envType=daily-question&envId=2025-08-07
The reminder to carefully read the description. If you apply all the constraints from the problem there and aply basic logic + dp - it will be eas yto solve. I would say this one should be mid
#daily
LeetCode
Find the Maximum Number of Fruits Collected - LeetCode
Can you solve this real interview question? Find the Maximum Number of Fruits Collected - There is a game dungeon comprised of n x n rooms arranged in a grid.
You are given a 2D array fruits of size n x n, where fruits[i][j] represents the number of fruitsโฆ
You are given a 2D array fruits of size n x n, where fruits[i][j] represents the number of fruitsโฆ
๐3๐คก2
Today daily is dp + probabilities. I'm not big fun of probabilities, but here they are simple
https://leetcode.com/problems/soup-servings/description/?envType=daily-question&envId=2025-08-08
#daily
https://leetcode.com/problems/soup-servings/description/?envType=daily-question&envId=2025-08-08
#daily
LeetCode
Soup Servings - LeetCode
Can you solve this real interview question? Soup Servings - You have two soups, A and B, each starting with n mL. On every turn, one of the following four serving operations is chosen at random, each with probability 0.25 independent of all previous turns:โฆ
๐2