Yostina | Bytephilosopher – Telegram
Yostina | Bytephilosopher
346 subscribers
228 photos
7 videos
3 files
55 links
a curious mind exploring tech, AI, and social change || ORTHODOX CHRISTIAN || A2SVian
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
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
#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