Day 60/100 — #100DaysOfCodingChallenge 60 days in… consistency is slowly turning into a habit now. 🔹 Python (DSA) Solved Search a 2D Matrix — used binary search by treating the matrix like a flattened sorted array. It was a nice reminder of how powerful binary search can be when applied smartly. 🔹 SQL Did some light practice to keep concepts fresh and maintain the streak. #Python #SQL #DSA #LeetCode #Day60 #100DaysOfCode #LearningInPublic #Consistency
60 Days In: Binary Search and SQL Practice
More Relevant Posts
-
Day 28 / #120DaysOfCode – LeetCode Challenge 🚀 Consistency is building momentum 💯 Today’s focus was on String Processing and Frequency Counting, using Python’s built-in tools for efficient solutions. ✅ Problem Solved: • Most Common Word 💻 Language: Python 📚 Key Learnings: • Used regex (re.findall) to extract words cleanly • Applied Counter to count word frequency efficiently • Learned how to handle case-insensitive strings • Filtered out unwanted words using conditions Clean code + built-in functions = powerful solutions 🚀 Every day improving step by step 💪 🔗 LeetCode Profile: https://lnkd.in/gbeMKcv5 #LeetCode #Python #DSA #Strings #Regex #ProblemSolving #CodingJourney #Consistency #120DaysOfCode
To view or add a comment, sign in
-
-
Python Clarity Series – Episode 25 Topic: Mutable vs Immutable Function Behavior 📌 Why did my list change after function call? def modify(lst): lst.append(100) a = [1, 2] modify(a) print(a) Output: [1, 2, 100] 👉 Lists are mutable → changes reflect outside Now: def modify(x): x = x + 10 a = 5 modify(a) print(a) Output: 5 👉 Integers are immutable → no change outside 💡 Rule: Mutable → changes persist Immutable → changes don’t This confusion causes logic errors. #PythonBasics #FunctionConcepts #StudentClarity #python #clarity
To view or add a comment, sign in
-
-
Day7 of #30DayChartChallenge Theme: Multiscale Category: Distributions Tool: Python Data Source: python scikit-learn Datasets I worked with a few features from a machine learning dataset and plotted their distributions. At first, everything sits on different ranges. One stretches far, another stays tight, another somewhere in between. It looks fine, but comparing them like that is off. After scaling, they fall into the same range. Now the comparison actually makes sense. It’s a small step in most workflows, but seeing it visually makes the difference clearer. #30DayChartChallenge #python #Dataviz #Datascience
To view or add a comment, sign in
-
-
Python Series — Day 3 🧠 Let’s level it up a bit 👇 What will be the output of this code? def modify_list(lst): lst.append(4) a = [1, 2, 3] modify_list(a) print(a) Options: A. [1, 2, 3] B. [1, 2, 3, 4] C. Error D. None Think carefully 👀 (Hint: It’s not about functions… it’s about how Python handles data) Drop your answer 👇 Answer tomorrow 🚀 #Python #CodingChallenge #LearningInPublic #DataEngineering #Tech
To view or add a comment, sign in
-
-
Day 37 / #120DaysOfCode – LeetCode Challenge ✅ Problem Solved: • Search a 2D Matrix 💻 Language: Python 📚 Key Learnings: • Applied Binary Search on a 2D matrix • Learned how to treat matrix as a flattened sorted array • Practiced converting 1D index → 2D index (row, col) • Improved understanding of search space reduction • Strengthened logarithmic time complexity (O(log n)) thinking Better logic → Faster execution 🚀 🔗 LeetCode Profile: https://lnkd.in/gbeMKcv5 #LeetCode #Python #DSA #BinarySearch #Algorithms #CodingJourney #Consistency #120DaysOfCode
To view or add a comment, sign in
-
-
Day 58/100 – #100DaysOfCode 🚀 Solved LeetCode #290 – Word Pattern (Python). Today I practiced hashmap (dictionary) and string manipulation to check whether a pattern matches a given string. Approach: 1) Split the string into words. 2) Check if the length of pattern and words list is equal. 3) Use two hashmaps to maintain mapping: - character → word - word → character 4) Traverse both together using zip(). 5) Ensure mapping consistency in both directions. 6) If any mismatch occurs, return False; otherwise return True. Time Complexity: O(n) Space Complexity: O(n) Understanding bidirectional mapping helps solve pattern-matching problems 💪 #LeetCode #Python #DSA #HashMap #Strings #ProblemSolving #100DaysOfCode
To view or add a comment, sign in
-
-
Day 1 of Data Structures in Python 🚀 Today I learned the basics of: • Lists • Tuples • Sets • Dictionaries Practiced few basic operations like insert, delete, and search. Understanding how data is stored and accessed is the first step toward better problem-solving. Looking forward to applying these concepts in real problems 🔍 #Python #DSA #LearningJourney #DataStructures
To view or add a comment, sign in
-
-
Day 5 of #30DaysOfPython ✅ Today I met two of Python's most powerful data structures. One of them already feels like home. The other? Slightly chaotic. Lists and dictionaries. Day 5. Lists made sense quickly — they're just ordered collections. I can store things, loop through them, sort them, slice them. Intuitive. Dictionaries? At first, the key-value pair concept felt abstract. The bug that got me today? I threw both strings and integers into the same list and tried to sort it. Python did not appreciate that. TypeError showed up like an old enemy. Day 5 done. 25 more to go! 👇 Lists vs dictionaries — when do you reach for one over the other? #Python #30DaysOfPython #DataStructures #StudentLife #AIML
To view or add a comment, sign in
-
-
NaNs ruining your analysis? Here’s the quick Pandas trio: use isna() to detect missing values, dropna() to remove incomplete rows, and fillna() to replace gaps with defaults. This tiny example shows all three so you can clean data in seconds.#pandas #python #datascience #dataengineering
To view or add a comment, sign in
-
-
🐍 Day 103 — Decision Trees (Implementation) Day 103 of #python365ai 🧑💻 Example: from sklearn.tree import DecisionTreeClassifier model = DecisionTreeClassifier() model.fit(X, y) 📌 Why this matters: Decision Trees handle both classification and regression tasks. 📘 Practice task: Train a simple decision tree model. #python365ai #DecisionTree #MachineLearning #Python
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