SO. I was wandering, how our cities are getting the electricity, literally what should happen for me to have lights in my office, under the hood.
Did you fucking know that all electric stations do is just spinning magnets around wires (or vice versa)? That's it.
Turned out that magnet just disturb electrons in wire which is enough to do current. By the way, magnet stays magnet forever, so it is some sort of "inifinite" thing, except you need some work to spin them around.
Ofc in reality it is a bit more complicated, but the general principle is just wiggle magnet, near the wires.
https://www.youtube.com/watch?v=tb3iN4m9Bik
Did you fucking know that all electric stations do is just spinning magnets around wires (or vice versa)? That's it.
Turned out that magnet just disturb electrons in wire which is enough to do current. By the way, magnet stays magnet forever, so it is some sort of "inifinite" thing, except you need some work to spin them around.
Ofc in reality it is a bit more complicated, but the general principle is just wiggle magnet, near the wires.
https://www.youtube.com/watch?v=tb3iN4m9Bik
YouTube
Building a Generator
Build this generator: https://www.printables.com/model/658157-hand-crank-generator
π₯2
Don't worry, this shit is temporary, once I will encounter the place where science "does not know" how some shit works I will cool down and we gonna again proceed with our system design, Snowflake, relocation, etc :D
β€4
I just want a bit of statistics around people who are interested/are in software engineering:
π5
Did you know that electricity that you use daily is just bouncing magnet near wires here and there?
Anonymous Poll
40%
yes
46%
no
14%
see answer
Daily (170 day streak)
Happy Monday, today is easy one - go and collect the coin
https://leetcode.com/problems/minimum-absolute-difference/description/?envType=daily-question&envId=Invalid%20Date
#daily #easy
Happy Monday, today is easy one - go and collect the coin
https://leetcode.com/problems/minimum-absolute-difference/description/?envType=daily-question&envId=Invalid%20Date
#daily #easy
π4
Daily (171 day streak)
Amazing problem. You know I love graph problems and this is exactly graph problem. Not very hard.
https://leetcode.com/problems/minimum-cost-path-with-edge-reversals/description/?envType=daily-question&envId=2026-01-27
#daily #medium
Amazing problem. You know I love graph problems and this is exactly graph problem. Not very hard.
https://leetcode.com/problems/minimum-cost-path-with-edge-reversals/description/?envType=daily-question&envId=2026-01-27
#daily #medium
π5
Daily (172 day streak)
Hard shit. Just skip it, don't waste time. But if you want I will provide an explanation below
https://leetcode.com/problems/minimum-cost-path-with-teleportations/description/?envType=daily-question&envId=2026-01-28
#daily #hard
Hard shit. Just skip it, don't waste time. But if you want I will provide an explanation below
https://leetcode.com/problems/minimum-cost-path-with-teleportations/description/?envType=daily-question&envId=2026-01-28
#daily #hard
β€3π2
I like these meeting rooms, they give me some sort of flashback
π28β€2π1
Daily (173 day streak)
Amazing problem, for graphs, and I learned new algorithm today.
https://leetcode.com/problems/minimum-cost-to-convert-string-i/description/?envType=daily-question&envId=2026-01-29
#daily #medium
Amazing problem, for graphs, and I learned new algorithm today.
https://leetcode.com/problems/minimum-cost-to-convert-string-i/description/?envType=daily-question&envId=2026-01-29
#daily #medium
π3π₯3
Next days I will drop my old articles (published in habr) about interview at Microsoft (offer), and Aws (reject) in 2021
I was crazy and stupid enough to reveal the questions they were asking, and answers π MS folks saw that and then my manager in Microsoft told me to remove answers from article at least. I donβt do that anymore, but it was funny.
I mean they didnt sign NDA back then.
I was crazy and stupid enough to reveal the questions they were asking, and answers π MS folks saw that and then my manager in Microsoft told me to remove answers from article at least. I donβt do that anymore, but it was funny.
I mean they didnt sign NDA back then.
π8
Daily (175 day streak)
Feels amazing, especially after yesterday's crazy trie+dijkstra+dp problem, slight recall for binary search, but can be solved directly as well.
https://leetcode.com/problems/find-smallest-letter-greater-than-target/description/?envType=daily-question&envId=2026-01-31
#daily #easy
Feels amazing, especially after yesterday's crazy trie+dijkstra+dp problem, slight recall for binary search, but can be solved directly as well.
https://leetcode.com/problems/find-smallest-letter-greater-than-target/description/?envType=daily-question&envId=2026-01-31
#daily #easy
π4
Daily (176 day streak)
Today we have again easy problem. So go and collect the coin
https://leetcode.com/problems/divide-an-array-into-subarrays-with-minimum-cost-i/description/?envType=daily-question&envId=2026-02-01
#daily #easy
Today we have again easy problem. So go and collect the coin
https://leetcode.com/problems/divide-an-array-into-subarrays-with-minimum-cost-i/description/?envType=daily-question&envId=2026-02-01
#daily #easy
π3
Sooooooooooo, as promised.
It was way back in 2021, it was the time I started doing Leetcode and the time dream FAANG company offer was only unreal dream
This one is about AWS interview experience. There are actually questions I was asked that time.
https://live.andreyka26.com/interview-experience-at-aws-in-2021
#bigtech
It was way back in 2021, it was the time I started doing Leetcode and the time dream FAANG company offer was only unreal dream
This one is about AWS interview experience. There are actually questions I was asked that time.
https://live.andreyka26.com/interview-experience-at-aws-in-2021
#bigtech
andreyka26 live
Interview experience at AWS in 2021
I am Software Engineer at Microsoft. This is my live blog where I would like to share my thoughts that are not related to software engineering.
β€10π₯5
Daily (177 day streak)
Today is bullshit problem. I propose you to solve similar hard question which is 1000% easier to understand and more useful to solve. The link to alternative hard task that we are going to solve in the comments.
For the daily - just copy paste from some publicly available solution
https://leetcode.com/problems/divide-an-array-into-subarrays-with-minimum-cost-ii/description/?envType=daily-question&envId=2026-02-02
#daily #hard
Today is bullshit problem. I propose you to solve similar hard question which is 1000% easier to understand and more useful to solve. The link to alternative hard task that we are going to solve in the comments.
For the daily - just copy paste from some publicly available solution
https://leetcode.com/problems/divide-an-array-into-subarrays-with-minimum-cost-ii/description/?envType=daily-question&envId=2026-02-02
#daily #hard
π2
Does anyone else find talking to Cursor for 2 hours more exhausting and less enjoyable than spending 2 hours building their own understanding from documentation and sandboxing?
I mean, maybe it is only me, but it feels extremely bad, when you don't build mental model of what is done while progressing. It is a bit like you are blind, and are not doing much (like being a PM: you were in the meets, managing stuff, but actually you didn't build anything).
I mean, maybe it is only me, but it feels extremely bad, when you don't build mental model of what is done while progressing. It is a bit like you are blind, and are not doing much (like being a PM: you were in the meets, managing stuff, but actually you didn't build anything).
π10
Daily (178 day streak)
I wouldn't say it is easy easy. It just just easy, but needs a bit of effort.
https://leetcode.com/problems/trionic-array-i/description/?envType=daily-question&envId=2026-02-03
#daily #easy
I wouldn't say it is easy easy. It just just easy, but needs a bit of effort.
https://leetcode.com/problems/trionic-array-i/description/?envType=daily-question&envId=2026-02-03
#daily #easy
π3