CTRL + FUTURE🔥
前往频道在 Telegram
Documenting my journey to becoming a Software Engineer Python | Web Dev | Problem Solving From beginner to developer 🚀
显示更多未指定国家未指定类别
348
订阅者
+524 小时
+257 天
+4330 天
帖子存档
Today I saw enough 😪
One CBE branch network down, another working fine like nothing happened.
Mobile banking broke after update, Play Store app missing, use 889 also not working… and the final solution was I don’t know.🤷♂️
At that point I chose my health and quietly walked away from the bank 😂🏃♂️
Product of Array Except Self
I learned that instead of multiplying everything each time, we split it into left and right products.
What I understood:
* Left = product of elements before index * Right = product of elements after index * Answer = left × rightMy mistake I first tried brute😭 force instead of thinking in prefix/suffix way 👉 Use left and right products to solve in O(n) time.
Repost from Birhan Nega
እድገት ሲመጣ ከባድ ነገሩ የሚፈልገው focus ነው። pull request review ማድረግ ላይ ጎበዝ ሆነን ኢሜይል ቶሎ መመለስ ላይ ልንቸገር እንችላለን። ማኔጅመንት ጓ ሲል የጀመርነውን ቶሎ ለመጨረስ ስንሮጥ የሆነ ነገር ይረሳል።
አልፎ አልፎ መደናበር ያስፈልጋል። ማደግ የፈለገ ለመሰቃየት ዝግጁ መሆነ አለበት
መልካም የስራ ሳምንት
Repost from shego.codes
💌
"God protect me from everyone's and my own stupidity."
#౨ৎ⠀
⠀⠀ ⠀⠀ ⠀⠀ ⠀⠀ ⠀⠀ ⠀⠀ ⠀⠀:¨ ·.· ¨:
⠀⠀ ⠀⠀ ⠀⠀ ⠀⠀ ⠀⠀ ⠀⠀ ⠀⠀ `· . 𐙚
Integer to Roman
I used a dictionary and looped from largest to smallest value. For each value, I keep adding the symbol while it fits in the number and subtracting it.
My mistake was thinking like a list and trying to index the number instead of using a greedy approach.
Idea Your Opinion Needed
I’m thinking to start a small coding challenge in this channel.
💡 If someone solves a problem, I’ll give 50 Birr airtime
✔️ No AI allowed
✔️ Must explain the solution
Do you think this is a good idea and helpful?
Drop your thoughts 👇
Roman to Integer
I first used a dictionary to map each Roman symbol to its value, then I traverse the string one by one.
For each character, I get its value and try to build the total answer.
My main confusion was that I was only focusing on the current character. I didn’t realize I also need to compare it with the next character to decide whether to add or subtract.
Now I understand:
If current value < next value → subtract Otherwise → add
The idea is to encode a list of strings into one string using
length#wordthen decode it back by reading the length first and extracting each word. My mistake was mixing the logic in decode I tried to process the word while still searching for
#which caused errors. I learned that decoding must follow a clear order find # read length, extract word, then move forward.
