🚀 𝗗𝗮𝘆 𝟭𝟮/𝟯𝟬 — 𝗗𝗦𝗔 𝗖𝗵𝗮𝗹𝗹𝗲𝗻𝗴𝗲 Day 12, and today’s focus shifted from arrays and windows to stack-based thinking — a different way of approaching problems where order, matching, and tracking the most recent element really matter. It’s interesting how a simple data structure like a stack can make certain problems feel much more structured once the pattern clicks. 🔎 𝗗𝗮𝘆 𝟭𝟮 𝗙𝗼𝗰𝘂𝘀 • Understanding stack operations and use cases • Practicing LIFO-based problem solving • Solved: ✅ Valid Parentheses ✅ Min Stack ✅ Implement Stack Using Queues Every day adds another tool to the toolbox — slowly building confidence in choosing the right structure for the right problem. On to Day 13 💪 #DSA #Python #LeetCode #Consistency #SoftwareEngineering #ProblemSolving
Day 12: Mastering Stack Data Structure and Problem Solving
More Relevant Posts
-
I just open-sourced Repo Doctor — a safe-by-default Python CLI + GitHub Action that helps make repositories “open-source ready”. It scans repo hygiene (README, LICENSE, CONTRIBUTING/SECURITY, GitHub Actions CI, .gitignore) and can generate missing essentials. Dry-run first, and it won’t touch your source code. GitHub: https://lnkd.in/eYUd6e2y PyPI: pipx install repo-doctor Feedback and suggestions are very welcome. #OpenSource #GitHub #Python #DevTools #DeveloperExperience
To view or add a comment, sign in
-
-
Headline: Day 13/100: The Art of Debugging! Every programmer loves building new things, but today I focused on a much more important skill: Fixing what’s broken. Day 13 was all about the "Code Detective" life—Debugging. What I mastered today: Identifying Bug Patterns: Understanding why a program doesn't do what we expect. The "Print" Strategy: Using print statements to track variable values at every step. Common Pitfalls: Spotting IndexErrors, TypeErrors, and the tricky IndentationErrors. Edge Cases: Thinking about those rare scenarios where the code might fail. Programming isn't just about writing code; it's about problem-solving and persistence. Today’s session made me much more confident in reading and understanding error messages. Check out my growing repository of projects here: https://lnkd.in/gyad3KVM #Python #100DaysOfCode #Debugging #ProblemSolving #SoftwareEngineering #CodeNewbie
To view or add a comment, sign in
-
Added SSH support to Pulse Terminal 🖥️ In my last post I shared the cd navigation feature in Pulse, my Python GUI terminal. So let me now share the SSH side of it. - Drag and drop upload: You just grab a file or folder, drop it into the terminal window, and it uploads to whatever remote directory you're currently in. No commands, no paths, just drop it. - Download files and folders: Type 'download filename' and it pulls straight to your Downloads folder. Works for folders too, it recursively grabs everything inside. - Visual connection indicator: The terminal background shifts color the moment you connect to a server. So you always know at a glance whether you're working locally or on a remote machine. Check it out on GitHub: https://lnkd.in/dw6f_g3u #Python #SSH #Terminal #DevTools #PySide6 #Qt #OpenSource
To view or add a comment, sign in
-
🚀 𝗗𝗮𝘆 𝟭𝟲/𝟯𝟬 — 𝗗𝗦𝗔 𝗖𝗵𝗮𝗹𝗹𝗲𝗻𝗴𝗲 Day 16, and linked lists are officially testing my patience… and my pointer accuracy There’s something humbling about working with nodes — one small mistake and suddenly your list disappears into the void. But once the logic clicks, it’s actually pretty satisfying. Today was all about careful pointer manipulation and thinking a few steps ahead instead of just moving forward blindly. 🔎 𝗗𝗮𝘆 𝟭𝟲 𝗙𝗼𝗰𝘂𝘀 • Managing multiple pointers safely • Handling edge cases • Solved: ✅ Merge Two Sorted Lists ✅ Remove Nth Node From End ✅ Palindrome Linked List Big takeaway: with linked lists, confidence is good… but double-checking your pointers is better Still showing up. Still improving. On to Day 17 #DSA #Python #LeetCode #Consistency #SoftwareEngineering #ProblemSolving
To view or add a comment, sign in
-
Topic 3/100 🚀 🧠 Topic 3 — Context Managers Ever forgotten to close a file or database connection? 😅 That’s where this concept saves you. 👉 What is it? Context Managers allow you to manage resources automatically using the with statement. 👉 Use Case: Used in real-world applications for: File handling Database connections Managing locks in concurrent systems 👉 Why it’s Helpful: Prevents memory leaks Automatically cleans up resources Makes code cleaner and safer 💻 Example: with open("file.txt", "w") as f: f.write("Hello, World!") 🧠 What’s happening here? Python automatically opens the file and ensures it gets closed after the block executes — even if an error occurs. ⚡ Pro Tip: Always use context managers when working with external resources — it’s a best practice in production code. 💬 Follow this series for more Topics #Python #BackendDevelopment #100TopicOfCode #SoftwareEngineering #LearnInPublic
To view or add a comment, sign in
-
-
Day 5 of my 100 Days of Code challenge! 💻🐍 Today I built a Password Generator in Python along with completing the classic FizzBuzz problem. 🔐 Password Generator A program that creates a secure password based on user input. The user chooses how many letters, numbers, and symbols they want, and the program randomly generates and shuffles them to create a strong password. 🔢 FizzBuzz A classic problem where numbers from 1–100 are printed, but multiples of 3 show “fizz”, multiples of 5 show “buzz”, and multiples of both show “fizzbuzz”. Today’s focus was practicing: • Loops (for loops) • The random module • Lists and list manipulation • The modulo operator % • Building and combining logic step by step Learning in public and documenting my journey into software engineering. Check out the projects here: https://lnkd.in/eCYaEybF #100DaysOfCode #Python #SoftwareEngineering #LearningInPublic #CodingJourney
To view or add a comment, sign in
-
We’ve released a deep dive into a critical CVSS 9.8 vulnerability in the Unstructured Python library (<0.18.18) that could let attackers achieve remote code execution via Outlook MSG attachments. Our analysis shows how unsanitized filenames enable path traversal, allowing arbitrary file writes, like cron jobs on the host system, and how version 0.18.18 patches the issue. If you handle email processing, document parsing, or monitor CVEs at scale, this one is high-risk and worth reviewing. 👇 Full technical breakdown and PoC walkthrough: https://lnkd.in/dgaYeXdj
To view or add a comment, sign in
-
-
#Leetcode daily [26th Feb'26] - 1404. Number of Steps to Reduce a Number in Binary Representation to One 🔰 Python3 ⏳ Time - O(n) 💾 Memory - O(1) 🚀 GitHub Source - https://lnkd.in/dvfvZMXD
To view or add a comment, sign in
-
-
Build a fully functional Finance Manager app with Qt for Python with Qt Academy. This course takes you from PySide6 and Qt Quick basics to integrating SQLite with SQLAlchemy, and finally setting up server-side operations with FastAPI and Pydantic. Everything is structured step by step, so you can follow along. Sign up for free here: https://lnkd.in/dz92wm_C
To view or add a comment, sign in
-
🚀 Day 13 of Consistency | LeetCode Grind Continues 💪 Today I solved “Concatenation of Consecutive Binary Numbers” on LeetCode. At first glance, the problem looks simple — just concatenate binary representations from 1 to n. But the challenge is handling the huge number efficiently and returning the result modulo 10^9 + 7. 🔎 Key Learning Today: Instead of building a massive binary string (which would be inefficient), we can simulate concatenation using bit manipulation. 💡 The trick: Appending a number in binary = left shift the current result by the number of bits in that number. Add the number. Take modulo at every step. The bit length increases only when the number becomes a power of 2 (i & (i-1) == 0). This converts a potentially expensive string problem into a clean O(n) mathematical solution. 📊 Complexity: Time → O(n) Space → O(1) Small optimizations. Big impact. 🔥 Consistency > Motivation. On to Day 14 🚀 #Day13 #LeetCode #100DaysOfCode #DSA #Java #Python #Cplusplus #CodingJourney #BitManipulation #SoftwareEngineering
To view or add a comment, sign in
-
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development