🚀 Day 14 of my programming journey LeetCode #20 (Valid Parentheses) 💡 Understand: Given a string containing brackets () [] {}, we need to check whether the input string is valid or not. 🔗 Match: I used this problem by using Stack method 🧠 Stack Concept: Stack works on LIFO 👉 Last In, First Out stack.pop() → used to remove and return a value stack.append() → add value in stack after creating stack.push() → add value in stack during creating 📝 Plan: I used the Stack Data Structure to solve this problem: Push opening brackets into the stack When a closing bracket appears: Check the top of the stack If it matches → continue If not → return False 💻 Implement: Shown in image 🖼️ 🔍 Review: I always use Python Tutor to see each step Learned how stack helps in tracking order Improved understanding of condition handling Practiced clean and readable logic 📊 Evaluate: Now we submit our code ✔️ #Python #CodingJourney #LeetCode #Programming #Developer #CodingLife #100DaysOfCode #LearnToCode #ProblemSolving #DataStructures #Stack #PythonDeveloper #SoftwareEngineering #Consistency #DailyCoding #ProgrammerLife #LearningJourney #ComputerScience #FutureDeveloper #CodingSkills #Growth #KeepLearning #leetcode20
Validating Parentheses with Stack in Python
More Relevant Posts
-
My new favorite free tool 😎 This new tool is the best. It’s essentially VS code and RStudio wrapped into one, giving you an easy and interactive way to write your Python code and keep track of any variables or objects you’ve already created. For anyone that’s familiar with RStudio and wished Python had an equivalent IDE, this is the best thing ever. It makes you feel WAY more in control of your data. I can realistically say that this IDE is what I’ll use for most of my data driven coding projects in the future. Not a sponsored post, I just love this thing (and it’s free) Follow for more free coding resources ✅ #code #coding #tech #learntocode #datascience
To view or add a comment, sign in
-
#Day490 of #500DaysofCode 🚀 Excited to share my latest project! I’ve been working on a multi-program Python project designed especially for beginners — combining multiple mini-programs into one interactive application. This project focuses on strengthening core programming concepts like functions, strings, dictionaries, file handling, and exception handling, all in a practical and hands-on way. 💡 What makes it interesting? Multiple beginner-friendly programs integrated into one system Clean structure and modular design Real-world concepts like error handling and file operations Great stepping stone for anyone starting their coding journey Building this helped me deepen my understanding of how smaller components come together to form a complete application. It’s been a great learning experience, and I’m excited to keep improving and building more! Would love to hear your thoughts and feedback 🙌 #Nodejs #Programming #BeginnerProjects #CodingJourney #SoftwareDevelopment #LearningByDoing #100DaysOfCode #TechSkills #NodejsProjects #DeveloperJourney #Vite
To view or add a comment, sign in
-
One Name, Many Forms (Polymorphism) Polymorphism and Flexibility. Day 11(08-04-2026): One of the coolest words in programming—Polymorphism. At first, the name sounded like something out of a sci-fi movie, but the concept is actually very intuitive. It’s the ability for different objects to be treated as the same "type," or for one "name" to represent different behaviors. A simple example: Both a Dog and a Cat might have a method called speak(). But when you call it, the Dog says "Woof" and the Cat says "Meow." Same command, different output. What I learned: How to use the same function interface for different data types. How this flexibility makes code way more adaptable to change. OOP is officially starting to click. It’s less about "typing" and more about "designing." 🎨 #Polymorphism #PythonDev #Day11 #LearningToCode #ProgrammingLogic
To view or add a comment, sign in
-
-
While learning Python in Mate Academy, I couldn't understand how to design application architecture. How do you actually start to develop something. I always had questions about why do you need API? Why do you need Docker? Why do you need testing? Why do you need Celery? Why do you need React? Simple answer is. You don't! First build a program, an idea of software. Make 10 functions that do something based on your idea. And then connect it to API, automatize deployment with Docker and make a cool front-end based on those 10 functions. As a bonus idea for your portfolio is to make analytics app based on any dataset with theme that you are interested in from Kaggle website. Starting a project with bloatware can make you frustrated, because you don't have fundamental functionality of your application. Hope this helps anyone starting your projects! Good luck! #SoftwareDevelopment #python #Programming #Coding #BackendDevelopment #WebDevelopment #LearnToCode #SelfTaughtDeveloper #CareerInTech #TechLearning #SoftwareArchitecture #StartSimple #DeveloperMindset #OpenToWork #PythonJobs
To view or add a comment, sign in
-
🚀 Day 7 of my Python Journey Today was all about Conditional Statements — and instead of just learning syntax, I challenged myself to build something practical 👇 💡 Mini Project: Smart Billing System Built a system that simulates real-world billing logic with multiple decision layers: Applied percentage-based discounts (10%) Added membership benefits (+5%) Included festival offers (₹200 off) Implemented loyalty bonus (₹500 for high bills) ⚙️ The interesting part? Instead of blindly applying all discounts, I designed the system to: 👉 Compare all discounts and apply the BEST one This pushed me to think beyond basic if-else and focus on decision-making logic, which is how real systems actually work. 🧠 Key Learnings: Writing clean conditional logic Handling multiple conditions effectively Improving code readability using boolean flags Thinking in terms of real-world scenarios, not just code 📌 This project helped me realize: Learning syntax is easy, but designing logic is the real skill. I’m currently focusing on Python as part of my Full Stack journey, building projects consistently to strengthen my fundamentals. 🔗 Code link : https://lnkd.in/gb2kdGXf 🔗 Next step: More real-world mini projects #Python #100DaysOfCode #CodingJourney #FullStackDevelopment #BeginnerToPro #Programming #GitHub Codegnan Saketh Kallepu
To view or add a comment, sign in
-
Day 14 of My Coding Challenge 💻🔥 Today’s problem was about working with dates in Python — calculating a date 9 months in the future 📅 ✨ Key Learnings: Handling month overflow (12+ months) Managing edge cases like February (28/29 days) Using Python’s datetime and calendar modules 🧠 Example: Input: 2025-04-27 Output: 2026-01-27 This problem improved my understanding of real-world date handling logic, which is very useful in applications like billing systems, subscriptions, and scheduling systems. 🔗 Check out my solution on GitHub:https://lnkd.in/dRygaZbk #Python #CodingChallenge #freecodecamp #Programming #Developer #Learning #GitHub
To view or add a comment, sign in
-
Every expert programmer started with a first step. Learning to code may seem overwhelming at first, but progress begins with a single decision: to start. One lesson becomes one skill. One skill becomes confidence. Over time, that confidence grows into the ability to build, solve, and create. Whether your goal is a new career, stronger technical skills, or simply understanding how technology works, coding gives you a foundation that continues to grow with you. Take your first step toward coding today, and start building the future you want. #programming #coding #codingforbeginners #python #skills
To view or add a comment, sign in
-
-
🧠 Programming changes the way you think. It’s not just about writing code. It’s about solving problems. Breaking things into steps. Understanding patterns. Thinking logically. From simple programs ➝ to complex outputs. 🚀 The more you code, the sharper your mind becomes. #Programming #Python #Logic #Developers #Learning #Growth
To view or add a comment, sign in
-
🚀 Day 28/30 – 30 Days of Python Project Challenge Consistency builds skill. Skill builds confidence. 🚀 As part of my 30-day challenge, I’m focused on solving real-world problems while strengthening core development concepts. 🧠 Today’s Project: Video to Audio (MP3) Converter I built a Python-based media utility that allows users to quickly extract audio tracks from video files through a simple graphical interface. ✨ Why this project matters: This project bridges the gap between file management and media processing. It demonstrates how Python can automate tedious tasks—like converting formats—with just a few lines of code and a user-friendly file picker. ⚙️ Key Features: Native File Explorer: Uses Tkinter's filedialog to browse and select videos easily 📂 High-Quality Extraction: Preserves audio fidelity during the MP4 to MP3 transition 🎵 Resource Efficient: Automatically closes file streams to save memory 🔋 Instant Feedback: Console confirmation once the conversion is complete ✅ 💡 Concepts Applied: Media Processing with MoviePy OS Interactivity through Tkinter's GUI components Stream Management (opening/closing file handles) Error Handling for file selection and module dependencies Environment Configuration for Linux-based development 🔗 GitHub: https://lnkd.in/djsKiuE7 📌 Takeaway: Automation is at its best when it removes friction. Turning a multi-step manual conversion into a single-click script is what makes coding so rewarding. On to Day 29. 🔥 #Python #BuildInPublic #DeveloperJourney #30DaysOfCode #MoviePy #Tkinter #Automation #SoftwareDevelopment #Coding #Learning #OpenSource #Projects
To view or add a comment, sign in
-
Checking Codeforces, then AtCoder, then LeetCode just to keep track of contests is a productivity killer. So I built CPAgent. It fetches upcoming contests from Codeforces, AtCoder, LeetCode, and CodeChef every day and syncs them straight to Google Calendar. Correct timezone. No duplicates. No manual effort. Built with Python 3.10, Pydantic v2, and the Google Calendar API. Repo is live and open source. 🔗 GitHub: https://lnkd.in/g7JxU8g3 #OpenSource #Python #CompetitiveProgramming #Automation #GitHubActions
To view or add a comment, sign in
-
Explore related topics
- Leetcode Problem Solving Strategies
- Ways to Improve Coding Logic for Free
- Steps to Follow in the Python Developer Roadmap
- Essential Python Concepts to Learn
- LeetCode Array Problem Solving Techniques
- Python Learning Roadmap for Beginners
- Python LLM Development Process
- How to Approach Full-Stack Code Reviews
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