This media is not supported in your browser
VIEW IN TELEGRAM
Nature representation of market monopolyπ
Thats why you rarely see small businesses (pigeons) in Dublin
Thats why you rarely see small businesses (pigeons) in Dublin
π5
Well well well. So I am again looking for new country?
I would be okay with waiting till citizenship even for 10-15 years in Ireland as I really like country and people here, but it is not easy/or even not possible to renew passport for some men from Ukraine.
Fucking shit. Gov didnβt accept this as part of the law yet, but overall - can be very bad sign for me. Cause I wouldnβt fit 8 years window. And then Idk, Argentina probably is the next stationπ or international refugee living in the tent.
I would be okay with waiting till citizenship even for 10-15 years in Ireland as I really like country and people here, but it is not easy/or even not possible to renew passport for some men from Ukraine.
Fucking shit. Gov didnβt accept this as part of the law yet, but overall - can be very bad sign for me. Cause I wouldnβt fit 8 years window. And then Idk, Argentina probably is the next stationπ or international refugee living in the tent.
β€8π€―5
andreyka26_se
Well well well. So I am again looking for new country? I would be okay with waiting till citizenship even for 10-15 years in Ireland as I really like country and people here, but it is not easy/or even not possible to renew passport for some men from Ukraine.β¦
Thanks folks, unexpectedly many people helped with some info about that, thank youβ€οΈ
β€12
Today, something like 20:30 UTC+1 - stream marathon again.
In the beginning we will solve problem that was really asked in one big tech company recently (somebody has shared with me)
In the beginning we will solve problem that was really asked in one big tech company recently (somebody has shared with me)
β€3
For those who are on the stream:
https://algo.monster/liteproblems/2534
https://algo.monster/liteproblems/2534
from collections import deque
def time_taken_to_cross_the_door(arrival: list[int], state: list[int]) -> list[int]:
entering = deque()
exiting = deque()
doorstate = 0
t = arrival[0]
person = 0
res = [0] * len(arrival)
while person < len(arrival) or entering or exiting:
if person < len(arrival) and t < arrival[person] and len(entering) == len(exiting) == 0:
t = arrival[person]
doorstate = 0
continue
elif person < len(arrival) and t == arrival[person]:
while person < len(arrival) and arrival[person] == t:
if state[person] == 1:
exiting.append(person)
else:
entering.append(person)
person += 1
competitive = len(entering) > 0 and len(exiting) > 0
if not competitive:
if entering:
res[entering.popleft()] = t
doorstate = 1
else:
res[exiting.popleft()] = t
doorstate = 2
else:
if doorstate == 0 or doorstate == 2:
p = exiting.popleft()
res[p] = t
doorstate = 2
elif doorstate == 1:
p = entering.popleft()
res[p] = t
doorstate = 1
t += 1
return res
if __name__ == "__main__":
arrival = [int(x) for x in input().split()]
state = [int(x) for x in input().split()]
res = time_taken_to_cross_the_door(arrival, state)
print(" ".join(map(str, res)))
AlgoMonster
2534. Time Taken to Cross the Door
Coding interviews stressing you out? Get the structure you need to succeed. Get Interview Ready In 6 Weeks.
β€1
andreyka26_se
For those who are on the stream: https://algo.monster/liteproblems/2534 from collections import deque def time_taken_to_cross_the_door(arrival: list[int], state: list[int]) -> list[int]: entering = deque() exiting = deque() doorstate = 0 β¦
This is the q that was recently asked one guy from here in Bigtech (very famous, but cannot say which one due to nda)
β€1
andreyka26_se
This is the q that was recently asked one guy from here in Bigtech (very famous, but cannot say which one due to nda)
The guy solved it in 25 minsπ
π
π
I did in 1 hour 15 mins
I did in 1 hour 15 mins
β€1
Daily 383d day streak
A bit tough problem, but not enough to be hard, but it has a pattern, so I would still recommend.
https://leetcode.com/problems/lexicographically-smallest-permutation-greater-than-target/description/?envType=daily-question&envId=2026-08-27
#daily #medium #pattern
A bit tough problem, but not enough to be hard, but it has a pattern, so I would still recommend.
https://leetcode.com/problems/lexicographically-smallest-permutation-greater-than-target/description/?envType=daily-question&envId=2026-08-27
#daily #medium #pattern
β€1
andreyka26_se
Video message
Burnout therapy. Just before training I wanted to resign. Now I even want to work a bit.
Lately it was first time for past 8 years (whole career) that I wanted to take vacation.
But I literally cannot, because manager nicely hinted that I should be around due to some important thing, and also I should deliver stuff noone else knows how to deliver on timeπ
Lately it was first time for past 8 years (whole career) that I wanted to take vacation.
But I literally cannot, because manager nicely hinted that I should be around due to some important thing, and also I should deliver stuff noone else knows how to deliver on timeπ
β€3
andreyka26_se
Burnout therapy. Just before training I wanted to resign. Now I even want to work a bit. Lately it was first time for past 8 years (whole career) that I wanted to take vacation. But I literally cannot, because manager nicely hinted that I should be aroundβ¦
Remember, if you cannot take single day off, cause there is no one else that can take it over - this is huge redflag.
In Microsoft you can safely die, and it will be alright. Generally there are at least 2 engineers per feature who have knowledge.
In Microsoft you can safely die, and it will be alright. Generally there are at least 2 engineers per feature who have knowledge.
π9β€1
Daily 384 day streak
For me - seems very complicated and I have to skip such long/hard problems while we are doing Leetcode marathon. But it has pattern, so I cannot say skip, as well as I cannot say musthave.
https://leetcode.com/problems/lexicographically-smallest-palindromic-permutation-greater-than-target/description/?envType=daily-question&envId=2026-08-28
#daily #hard #pattern
For me - seems very complicated and I have to skip such long/hard problems while we are doing Leetcode marathon. But it has pattern, so I cannot say skip, as well as I cannot say musthave.
https://leetcode.com/problems/lexicographically-smallest-palindromic-permutation-greater-than-target/description/?envType=daily-question&envId=2026-08-28
#daily #hard #pattern
β€4
andreyka26_se
10 minutes and we go leetcode marathon
Come and join I will do small announcement, and then leave. I know it is boring to watch somebody struggling with leetcode. So I understand.
It is only for duration of marathon, and then I will switch to regular content: networks, system design and finally will finish Prague -> Dublin relocation
It is only for duration of marathon, and then I will switch to regular content: networks, system design and finally will finish Prague -> Dublin relocation
β€8