Bytephilosopher
855 subscribers
521 photos
17 videos
5 files
187 links
a curious mind exploring tech, AI, and social change || ORTHODOX CHRISTIAN || A2SVian || AAU Student

Any inquiry dm @Yostina_Abera
Download Telegram
Forwarded from DOT_RUTH
Good Day Everyone

Don't let the bugs bite :)
๐Ÿ‘2๐Ÿค”1
August 1 in Ethiopian calendar ๐Ÿ“…

It is not only just starting new month in Orthodoxy it is the start of fast for st. merry. May God answer all our prayers in this fast.

#church #faith
@byte_philosopher
โค11
๐Ÿ˜ญ5๐Ÿ˜1๐Ÿ˜ฑ1
๐Ÿ”ฅ3โœ1
Happy Sunday beautiful souls๐Ÿซถ
@byte_philosopher
โค14๐Ÿ’ฉ1
Hey fam๐ŸŒธ! Been a while ๐Ÿค Life got busy & I kinda lost the courage to postโ€ฆ but your DMs gave me the push I needed ๐Ÿ™

โšก Even though weโ€™re halfway in, Iโ€™m starting a Daily LeetCode Grind โ€” 1 problem a day, sharing my wins and fails so we grow together ๐Ÿ’ป๐Ÿ“š

๐Ÿ’ฌ Wanna join? Drop your โ€œIโ€™m inโ€ or thoughts below โฌ‡๏ธ Letโ€™s keep each other consistent!

@byte_philosopher

#AugustLeetCodeGrind ๐Ÿ”ฅ
๐Ÿ”ฅ9๐Ÿ‘3
#August_14_LeetCode_Grind

๐Ÿš€ DSA Bite: Queues & Stacks ๐Ÿ“š

๐Ÿ“Œ Stack โ†’ Last In, First Out (LIFO)
๐Ÿ‘‰ Example: Stack of plates โ€“ last plate on top comes off first.
๐Ÿ”น Operations: push(), pop(), peek()

๐Ÿ“Œ Queue โ†’ First In, First Out (FIFO)
๐Ÿ‘‰ Example: People in a line โ€“ first person in line gets served first.
๐Ÿ”น Operations: enqueue(), dequeue(), front()

๐Ÿ’ก Tip:

Stack โ†’ Use when you need to reverse or backtrack (undo, DFS).

Queue โ†’ Use when you need order processing (printer queue, BFS).


@byte_philosopher
๐Ÿ”ฅ4
So for today here is the challange to solve

Implement Stack using Queues

Implement a last-in-first-out (LIFO) stack using only two queues. The implemented stack should support all the functions of a normal stack (push, top, pop, and empty).

Implement the MyStack class:

void push(int x) Pushes element x to the top of the stack.
int pop() Removes the element on the top of the stack and returns it.
int top() Returns the element on the top of the stack.
boolean empty() Returns true if the stack is empty, false otherwise.


So solve it and share it here.

@byte_philosopher
๐Ÿ”ฅ3
I will drop my answer and approach tomorrow. Good night everyone ๐Ÿค— ๐Ÿ˜ด

@byte_philosopher
๐Ÿฅฐ7
๐Ÿ˜13๐Ÿ˜ฑ1
#August_15_LeetCode_Grind

Hey, lovelies, today I was learning sorting algorithm but didn't finished it. I understanded the concepts but getting hard to bit the leetcode challanges. So I will finish and post them tomorrow. Since it's Saturday let's take a deep sleep today and grid it tomorrow well.

Have a beautiful dream. ๐Ÿซถ

@byte_philosopher
๐Ÿ”ฅ5
๐ŸŒž Morning Lark(แ‹จแŒ แ‹‹แ‰ต แ‹ˆแ) or ๐ŸŒ™ Night Owl(แ‹จแˆˆแˆŠแ‰ต แŒ‰แŒ‰แ‰ต) ?

Which one are you?

React below to vote
๐Ÿ‘ for Morning Lark
๐Ÿ”ฅ for Night Owl

And drop a comment โ€” why do you feel this

@byte_philosopher
๐Ÿ”ฅ9๐Ÿ‘5๐Ÿคทโ€โ™€4๐Ÿคทโ€โ™‚2๐Ÿ—ฟ1
#August_16_LeetCode_Grind


๐Ÿ“Š Sorting in DSA (Quick Summary)

๐Ÿ”น Definition: Sorting means arranging data in a particular order (ascending/descending).
๐Ÿ”น Why it matters: Makes searching faster โšก, data easier to analyze, and algorithms more efficient.

๐Ÿงฎ Common Sorting Algorithms

๐Ÿงฉ Bubble Sort โ†’ Compare & swap (Simple but slow ๐Ÿšถ).

โšก Quick Sort โ†’ Divide & conquer, very fast in practice.

๐Ÿ“š Merge Sort โ†’ Stable, good for linked lists.

โš™๏ธ Insertion Sort โ†’ Good for small datasets.

๐ŸŽ๏ธ Heap Sort โ†’ Based on binary heap, efficient.


โœ… Tip: Always choose sorting based on data size + constraints.


@byte_philosopher
โค3
So Today I was trying to beat the amazjng part of DSA which is sorting. The core thing for data organization in Machine learning. I also tried to solve leetcode problem. แŒแŠ• แŠฅแŠ” แ‰ฅแ‰ป แАแŠ แŒฅแ‹ซแ‰„แ‹ แŒˆแ‰ฅแ‰ถแŠ code แˆ˜แƒแ แ‹จแˆšแ‹ซแ‰…แ‰ฐแŠ:: i just know the question and know the concepts but when it comes to leetcode แ‹ˆแ. Anyways we keep learning until we understand it.

@byte_philosopher
๐Ÿ‘5๐Ÿ‘Œ2๐Ÿ’ฏ2
This rain reminded me this childhood music "แ‹แŠ“แ‰ก แˆ˜แŒฃ แŠ แŠ•แŒ แ‰ฃแŒ แ‰ ....."แŒจแˆญแˆฑแ‰ต๐Ÿ˜

Happy Sunday my people ๐Ÿซถ

@byte_philosopher
๐Ÿ˜5๐Ÿฅฐ3