Day 15 of #30DaysOfCode with Educative 🟦 Challenge: Similar String Groups Approach: Union-Find (Disjoint Set) Insight: Utilizing union-find simplifies the task to identifying connected components in a similarity graph, enhancing group enumeration and eliminating repetitive verifications. Reflection: The application of union-find is common in graph and clustering scenarios, showcasing the power of fundamental data structures in delivering efficient solutions. #Educative #Python #SoftwareEngineering #ContinuousLearning #ProblemSolving
"Day 15: Using Union-Find for Similar String Groups"
More Relevant Posts
-
🔢 Creation of Arrays using NumPy In this practical, I explored how to create and manipulate arrays efficiently using NumPy in Python. Learned different methods to create arrays such as array(), arange(), zeros(), ones(), and linspace() — essential for numerical computing and data manipulation tasks. 📘 Guided by: Ashish Sawant 💻 GitHub: 👉 [https://lnkd.in/dFff8cPb] #DataScience #NumPy #Python #MachineLearning #Coding #Array #PracticalLearning #DataScienceLab
To view or add a comment, sign in
-
Day 13: #100DaysOfCodingChallenge 🚀 Focusing today on in-place array transformation patterns in Python, specifically replacing each element with the greatest value among those to its right. 📌 Today's Progress: 1️⃣ Replace Elements with Greatest Element on Right Side (LeetCode 1299) 👉Problem: Modify the array so each element is replaced by the greatest element to its right (final element set to -1). 👉Approach: Scanned the array from right to left, tracking the current maximum 'max_right' and updating each value in-place. Achieves O(n) time and O(1) space with a clean backwards pass. Practising these in-place update patterns helps build critical skills needed for real-world coding and interview scenarios. Thanks as always to Nandan Kumar Mishra Sir and #KRMangalamUniversity for their continuous encouragement! #DSA #100DaysOfCodingChallenge #CodingChallenge #ProblemSolving #Python #Array #InPlace #LeetCode #LearningTogether #100DaysOfCode
To view or add a comment, sign in
-
-
Problem Solving Series - Day 1 Today's topic: Abundant Number in Python An Abundant Number is a number whose sum of proper divisors is greater than the number itself. For example, 12 + divisors are 1, 2, 3, 4, 6+ sum = 16 > 12 (Abundant!) In this reel, I've explained: What is an Abundant Number ✅️Step-by-step logic building ✅️Python implementation & output ✅️Start your problem solving journey with me one concept at a time! Comment "Day 1" if you want the source code! #python #problemsolvingseries #abundantnumbers #pythonprogramminglanguage #codingforbeginners #learnpython #codingchallenge #newbedutech
To view or add a comment, sign in
-
Mastering The Art of VEX and Python Learn to code, automate, and build like a true Technical Director. In this 50+ hour deep dive, Corbin Mayne will show you how to take full control of Houdini using VEX & Python as your weapons. Build tools. Solve problems. Think like a TD. Ready to become the artist studios rely on? Enroll today and master the art of VEX and Python. https://lnkd.in/ea-wAz8r #HoudiniFX #VEX #Python #FXTD #VFXEducation #DoubleJumpAcademy
To view or add a comment, sign in
-
The Ultimate UV Cheatsheet for Pythonistas 🌌 Dive into the cosmic world of UV with this handy cheatsheet! Whether you're initializing a project with `uv init`, managing dependencies using `uv add` and `uv remove`, or running your scripts with `uv run`, this guide has you covered. Perfect for streamlining your Python workflow and exploring automation potential. Explore more about UV commands and how they can simplify your development process in the full blog post: https://bit.ly/4qxCfA3 #GeoICT #Python #UVCommands #PythonDevelopment #CodingCheatsheet
To view or add a comment, sign in
-
-
Day 55/100 of #100DaysOfCodeChallenge Today’s focus was on Tuples & Sequences in Python a key concept for understanding data immutability and efficient data handling. Key Learnings: 1.Creating and using Tuples effectively 2.Understanding immutability of tuples 3.Performing Membership checks using in and not in 4.Exploring Packing and Unpacking in sequences This session deepened my understanding of how Python manages immutable data types and sequence operations efficiently. Every concept is bringing me closer to mastering Python! #Python #CodingChallenge #LearningJourney #NxtWave #100DaysOfCode #DataStructures
To view or add a comment, sign in
-
-
📌 Day 6 of My #50DaysOfPython Challenge 🐍 Today’s task was to check whether a number is Prime or Not. 🔢 A prime number is a number greater than 1 that has no divisors other than 1 and itself. This concept strengthened my understanding of loops, conditional logic, and flag variables in Python. 🧠 What I Learned: 🔹 How to use a flag variable → A flag is like a status indicator that stores a True/False condition. → Example: We assume a number is prime (True) and change the flag if it isn’t. 🔹 How to optimize loops by checking only up to √n 🔹 Logical thinking and condition-based decisions Every line of code teaches something new 💪 On to Day 7 tomorrow! 🚀 #Python #CodingChallenge #50DaysOfPython #ProblemSolving #WomenInTech #LogicBuilding #LearnToCode
To view or add a comment, sign in
-
Welcome back, everyone 👋 Today we’re diving into one of the most powerful and frequently used data types in Python — Strings! 💡 Strings handle text, messages, inputs, and even hidden data behind the scenes. Let’s understand how they work, how to manipulate them, and some cool tricks you can use every day. Swipe through 👉 to master Python Strings step by step. #Python #Coding #LearnWithMe #Programming #DataScience #LinkedInLearning #PythonTips
To view or add a comment, sign in
-
📉 Experiment 5 – Creation of Arrays using NumPy In this practical, I learned how to create and manipulate arrays using Python’s NumPy library. Created 1D, 2D, and matrix arrays to understand how NumPy helps in handling numerical data efficiently. This experiment gave me a clear idea of how arrays form the foundation for data analysis and scientific computing in Python. 📁 GitHub:https://lnkd.in/eTtC53qu 🎓 Guided by: Ashish Sawant #Python #NumPy #Array #DataScience #MachineLearning #Coding #Learning #JupyterNotebook #CSE#PRMCEAM
To view or add a comment, sign in
-
📌 Day 8 of My #50DaysOfPython Challenge 🐍 🔹 Task: Fibonacci Series using Recursion Today’s challenge helped me dive deeper into recursion, one of the most powerful concepts in Python! I learned how a function can call itself to generate the Fibonacci sequence — a great exercise for understanding base cases and recursive logic flow. 🧠 Key Takeaways: How recursion works with base and recursive cases The difference between iteration and recursion Importance of function calls and return values 🧪 Example: Input: 7 Output: 0 1 1 2 3 5 8 This challenge helped me strengthen my problem-solving and logical thinking skills 🚀 #Python #CodingChallenge #LearningJourney #Fibonacci #Recursion #100DaysOfCode #PythonProgramming
To view or add a comment, sign in
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