Girinandini S’ Post

🚀 𝗗𝗮𝘆 - 51/60 Problem: URLify a Given String 🔍 Learned: Replaced all spaces in the string with "%20" to make it URL-friendly. This can be done using string traversal or built-in methods. 😅 Struggles: Initially overthought the problem expecting complex logic, but realized it’s just about handling characters efficiently. 🧠 Key Learning: Simple problems test clarity, not complexity. Can use replace() for clean code, or manually build using StringBuilder for better control. Important to maintain O(n) time complexity. 📦 Concepts Used: #Strings #StringBuilder #BasicLogic #TimeComplexity #DSA Not every problem needs complexity—sometimes simplicity is the real skill. 🚀 #Java #CodingJourney #ProblemSolving #DSA

  • graphical user interface, application

To view or add a comment, sign in

Explore content categories