400 LeetCode problems down. 💪 Not going to pretend it was easy — graphs and DP alone took me weeks to get comfortable with. Solving in both Java and Python made it harder but worth it. You stop relying on language tricks and actually understand what's happening under the hood. The reps add up. Pattern recognition kicks in. Problem-solving speed improves. If you're in the middle of the grind — keep going. The plateau breaks. #LeetCode #DSA #Java #Python #BackendDevelopment #SDE2 #ProductEngineering
Mastering LeetCode with Java and Python
More Relevant Posts
-
I think "fgets(buf, sizeof(buf), fp) != NULL" would be written as something like "fgets(fp, sizeof(buf), buf) != NULL" if it is python or java. I bet if I write this api, it would be "getlinefromfile(buffer, sizeof(buffer), filepointer)".
To view or add a comment, sign in
-
Every insight Potpie delivers about your codebase starts with parsing. Our context engine builds a complete map of your codebase: its structure, its components, its relationships into a knowledge graph that agents can use to navigate and query code faster. Currently, it supports more than 15+ languages including python, typescript, java etc. We understand that parsing large repositories is inherently time-consuming, but it shouldn't slow you down. That's exactly why we rebuilt this critical functionality in Rust: to make understanding your codebase faster, without any performance compromise. Our benchmarks show approximately 30% faster parsing for repositories with 1M+ lines of code, with the performance gap expected to grow significantly for larger codebases. Looking ahead, we plan to introduce parallelization of the parsing pipeline to use multi-core threading for processing files simultaneously without Python's GIL constraints. This allows us to handle enterprise-scale repositories with sub-minute indexing times.
To view or add a comment, sign in
-
Hit 5⭐ in Java & Python on HackerRank. Key takeaways from the journey: • Improved problem-solving and logical thinking • Focused on writing clean and efficient code • Got hands-on with arrays, strings, and recursion • Learned the importance of time & space complexity • Practiced consistency and pattern recognition Next step: deeper DSA and applying these skills to real-world projects. #Java #Python #DSA #ProblemSolving #CodingJourney #HackerRank
To view or add a comment, sign in
-
-
PSA: We've made our Libraries and Actions products free for the next three months. No strings attached. Whether you're still rotating creds from the last wave of attacks or just finished, just sign up and grab our Python, NPM, or Java Libraries and then don't worry when the next wave hits.
To view or add a comment, sign in
-
This is exactly the kind of work the industry needs more of. Chainguard continues to push the conversation in the right direction by making software supply chain security more practical, more accessible, and easier for teams to adopt before the next incident forces the issue. Making Libraries and Actions free for the next three months is a strong move, especially for teams that know they need to tighten up dependency and credential risk but have not had the time or budget to get ahead of it. Secure software delivery cannot just be about reacting after the latest wave of attacks. It needs to become part of the normal engineering baseline: trusted dependencies, better provenance, fewer long-lived secrets, and a cleaner path to building by default with safer components. Good on Chainguard for lowering the barrier here. Hopefully more teams take advantage of it, and more vendors follow this lead by helping make secure software supply chain practices easier to adopt, not harder. #DevSecOps #SoftwareSupplyChain #SupplyChainSecurity #CloudSecurity #AppSec #OpenSourceSecurity #RedoubtForge
PSA: We've made our Libraries and Actions products free for the next three months. No strings attached. Whether you're still rotating creds from the last wave of attacks or just finished, just sign up and grab our Python, NPM, or Java Libraries and then don't worry when the next wave hits.
To view or add a comment, sign in
-
In real, THREADS don’t actually run in parallel in Python… Here’s what really happens: >They just act like they are running in parallel. >Thread A starts working like it owns the system. Thread B is ready to jump in, but Python says, “Wait for your turn.” So, B waits. Then A pauses, B runs, then C gets a chance. It’s super-fast switching, so it looks like everyone is working together. >It’s basically one laptop shared by multiple users. Everyone looks busy, but only one is typing at a time. >This happens because of the Global Interpreter Lock in Python, which allows only one thread to execute at a time. >However, for I/O-bound tasks like API calls or file handling, threads still improve performance because while one waits, another runs. #Important_Point And here’s the key: in languages like Java, C++, and Go, threads can truly run in parallel across multiple CPU cores. #python #threads #multithreading #java #c++ #coding
To view or add a comment, sign in
-
-
In Java, private means private. In Python, it means: “I trust you not to look.” I was exploring encapsulation and discovered something interesting. In Java, access is enforced. In Python, it’s… negotiated. A double underscore (__attr) doesn’t truly hide anything. It just renames it. Which means: You *can* still access it — if you know how. That realization changed how I think about class design. Java protects the code. Python trusts the developer. Two different philosophies. Which one do you prefer? 👇 Curious to hear your perspective #Python #Java #OOP #SoftwareEngineering #LearningInPublic
To view or add a comment, sign in
-
🐍 Access Modifiers in Python — What Every Developer Should Know! Coming from Java or C++? You might expect Python to have strict private and public keywords. It doesn't — and that's by design. 🎯 Python uses a naming convention to signal access intent: 1️⃣ Public → self.name Accessible from anywhere. The default for all attributes and methods. 2️⃣ Protected → self._name Single underscore. A gentle signal for "internal use" — still accessible, but handle with care. 🔓 3️⃣ Private → self.__name Double underscore triggers name mangling → _ClassName__name. Harder (but not impossible) to access from outside. 🔒 💡 Python's philosophy: "We're all consenting adults here." It trusts developers to respect conventions rather than enforcing hard rules. Understanding this is key to writing clean, maintainable, Pythonic OOP code. #Python #PythonProgramming #OOP #ObjectOrientedProgramming #SoftwareEngineering #CodeNewbie #PythonDeveloper #Programming #TechLearning #CleanCode #100DaysOfCode #LearnPython #BackendDevelopment #DevTips #PythonTips
To view or add a comment, sign in
-
🔥 Finally! A complete **Data Structures & Algorithms in Java** tutorial – completely **FREE**! I have built this with: - 150+ chapters - 22 modules (Arrays → Trees → Graphs → DP) - Real code examples - Quick “Two‑Minute Drill” summaries Whether you’re preparing for coding interviews or sharpening your problem‑solving skills, this is for you. 🔗 Start learning now: https://lnkd.in/gMYTHTWN #DSAwithJava #Java #DataStructures #Algorithms #CodingInterview #FreeTutorial #Programming #Developer
To view or add a comment, sign in
-
Day 2 of my Python Full Stack journey. ✅ Today I covered the very first building block of Python: → Variables → Data Types (int, float, str, bool) → f-strings to print dynamic output Looks simple. But this is the foundation everything else is built on. Here's what I actually typed today: name = "Punith" # str age = 24. # int score = 9.5 # float is_dev = True # bool print("Hi, I'm {Punith}, age {24}") and many. One thing that clicked today: Python figures out the data type automatically. No need to declare it like in Java or C. This is called dynamic typing — and it makes Python so much cleaner to write. 45 minutes. Committed to GitHub. Showing up again tomorrow. If you're learning to code right now — what was the first concept that actually made sense to you? #PythonFullStack #Day2 #BuildingInPublic #100DaysOfCode #Bangalore
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
Osm dude