Today I practiced implementing Queue (FIFO – First In, First Out) in Python. In this video, I demonstrated: ✔ Enqueue operation ✔ Dequeue operation ✔ Peek / Front element ✔ Real-time execution Strengthening my DSA fundamentals step by step 🚀 #Queue #DSA #Python #DataStructures #CodingJourney
More Relevant Posts
-
🚀 Day 38/50 – LeetCode Challenge (Python) Continuing the 50-day challenge with a bit manipulation problem that focuses on binary representation and shifting operations. 📌 Problem: Reverse Bits 🧠 Approach: Extract each bit using bitwise operations and rebuild the number in reverse order ✨ Key Learning: Understanding binary operations makes low-level optimizations much clearer and more intuitive. Bit manipulation might look tricky, but patterns make it powerful. 💪 #LeetCode #Python #DSA #BitManipulation #Consistency #LearningInPublic
To view or add a comment, sign in
-
-
Solved the Largest Number from Array problem using a greedy approach with custom sorting in Python. Key insight: compare a+b vs b+a instead of normal numeric sorting. Time Complexity: O(n log n). Strengthening my understanding of comparators, string manipulation, and algorithmic thinking through consistent practice. #geekstreak60 #npci #DSA #Python #ProblemSolving #GreedyAlgorithm #CodingPractice #AlgorithmicThinking
To view or add a comment, sign in
-
-
Solved the Largest Number from Array problem using a greedy approach with custom sorting in Python. Key insight: compare a+b vs b+a instead of normal numeric sorting. Time Complexity: O(n log n). Strengthening my understanding of comparators, string manipulation, and algorithmic thinking through consistent practice. #geekstreak60 #npci #DSA #Python #ProblemSolving #GreedyAlgorithm #CodingPractice #AlgorithmicThinking
To view or add a comment, sign in
-
-
Python Tip of the Day 🐍 The for loop is the simplest and most Pythonic way to iterate over a sequence. Python’s for loop directly works with sequences like lists, tuples, strings, sets, dictionaries, and ranges — making code cleaner and easier to maintain. Day 23 of building Python fundamentals. #Python #PythonBasics #Coding #LearningPython #DataAnalytics
To view or add a comment, sign in
-
-
Day 9/30 – DSA in Python 🚀 Today I learned the concept of finding the Longest Subarray that begins and ends with the same value. Covered: ✔ Understanding subarray traversal ✔ Tracking first and last occurrence of elements Will be practicing Subarray Sum problems next to strengthen this concept. Learning step by step and improving consistency 💪 #DSA #Python #ProblemSolving #30DaysChallenge
To view or add a comment, sign in
-
Python Tip of the Day 🐍 Slicing lets you extract a portion of a sequence using: sequence[start : stop : step] Start is included. Stop is excluded. Step controls the movement. Day 13 of building Python basics #PythonDaily #PythonBasics #LearningPython #DataAnalytics #Python
To view or add a comment, sign in
-
-
Day 3 of my Python Learning Journey 🚀 Today, I focused on **Problem Solving with Strings**. Problems I solved: • Reverse a string • Check if a string is a palindrome • Count vowels and consonants • Count words in a sentence • Convert the string to title case • Check if a string contains only digits This helped me improve my logical thinking and understand how to work with string operations more effectively. My focus is to solve small problems daily and build strong problem-solving skills step by step. Consistency is the goal. #Python #ProblemSolving #Day3 #CodingJourney #BeginnerToDeveloper #100DaysOfCode
To view or add a comment, sign in
-
Python Tip of the Day 🐍 Mutable objects can be changed after creation, while immutable objects cannot. Mutable types update in place — immutable types create a new object when modified. Knowing this helps prevent unexpected bugs in your code. Small concept — big impact on program behavior. Day 9 of building Python basics. #PythonDaily #PythonBasics #Python #DataAnalytics #LearningPython
To view or add a comment, sign in
-
-
A quick way to understand the shape of a dataset in Python: df.shape It returns the number of rows and columns in the dataset. This simple check is useful when loading new data, merging datasets, or filtering rows. It helps confirm that your operations are doing what you expect. Small checks like this help avoid many silent mistakes during analysis. #Python #DataAnalytics #MachineLearning #DataScience
To view or add a comment, sign in
-
LeetCode #235 – Lowest Common Ancestor of a Binary Search Tree | Python Implementation I implemented an iterative approach leveraging the BST property to find the LCA without recursion. Core Insight: BST ordering guarantees the LCA is where paths to p and q diverge. The iterative solution avoids recursion overhead by directly following the BST property until the split condition is met. Time: O(log h) where h = tree height | Space: O(1) #LeetCode #DataStructures #Python #BinarySearchTree #LCA #CodingInterview #SoftwareEngineering
To view or add a comment, sign in
-
More from this author
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