🚀 Day 54 of #100DaysOfCode Challenge 🚀 Today was all about string manipulation and conversions! 🧵💻 1️⃣ String to Integer (atoi): Solved this problem efficiently, converting strings to integers like a pro! 🚀 2️⃣ Integer to Roman: Mastered the art of converting integers to Roman numerals flawlessly! 🏛️➡️📜 Keep coding, keep conquering! 💪 #CodeLife #ProgrammingJourney #CodeChallenge
Sachin Yadav’s Post
More Relevant Posts
-
🚀 Day 60 - Leetcode Challenge: Rotate String 🚀 Today, I solved the "Rotate String" problem, where the goal is to check if one string is a rotation of another. The optimal solution involves concatenating string A with itself, then checking if string B is a substring of this new string. This approach runs in O(n) time, making it far more efficient than brute force methods. This problem reinforced the importance of string manipulation and optimization in coding challenges. Excited to keep learning and improving! #Leetcode #ProblemSolving
To view or add a comment, sign in
-
Day 34 of the 100 Days Coding Challenge! 🚀 Today's task: Roman to Integer. Given a Roman numeral, convert it to an integer. Let's solve this easy-level challenge together! #100DaysOfCode #CodingChallenge #RomanNumerals #Conversion 🏛️➡️🔢
To view or add a comment, sign in
-
🚀 Day 85/100: #100DaysOfCode Challenge Today, I worked on problem #1813 on LeetCode: Sentence Similarity III. This problem tested my ability to handle string comparisons efficiently. 🔍 Key learnings: Enhanced my understanding of string manipulation and how to compare sentences for similarity. Practiced using two-pointer techniques to compare words while accounting for different sentence lengths. Focused on optimizing performance for edge cases, such as partial sentence matches. 💡 Takeaway: String problems continue to be a rewarding challenge, helping me sharpen both logic and efficiency. Only 15 days left to complete this exciting coding journey! #LeetCode #CodingChallenge #Day85 #BTechIT #ProblemSolving #StringManipulation #SentenceSimilarity #TwoPointerTechnique #KeepLearning #TechJourney
To view or add a comment, sign in
-
🔍 Day 38 of 365 : Coding Challenge Today, I tackled a different problem on Leetcode focusing on unique concepts and problem-solving techniques.Here's the link to the problems :- 1) Max Consecutive Ones III (Sliding Window Approach).
To view or add a comment, sign in
-
day 5 of #60daysleetcode question 2 today I solved question no . 28 find the index of the first occurence in a string Coding Thinker
To view or add a comment, sign in
-
🌟 Day 77 of #100DaysofCode 🌟 Solved the 𝐑𝐞𝐯𝐞𝐫𝐬𝐞 𝐖𝐨𝐫𝐝𝐬 𝐢𝐧 𝐚 𝐒𝐭𝐫𝐢𝐧𝐠 𝐈𝐈𝐈 problem on Leetcode! 🔄✨ This problem focused on reversing individual words in a sentence while maintaining the word order. A great exercise in string manipulation, showcasing the importance of efficient iteration and in-place transformations. Coding every day keeps the momentum going! 🚀💡 #CodingJourney #ProblemSolving #LeetCode #AlgorithmDesign #StringManipulation #100DaysOfCoding #LearnToCode #ProgrammingChallenges #CodeEveryday
To view or add a comment, sign in
-
Day 9/100: Solved Valid Anagram! 🚀 Today, I tackled the "Valid Anagram" problem on LeetCode. If two strings contain the same characters but in a different order, they can be said to be anagrams. The challenge was given two strings s and t, return true if t is an anagram of s, and false otherwise. Excited to keep pushing forward on this coding journey! #LeetCode #CodingJourney #100DaysOfCode #ProblemSolving #LearningEveryDay
To view or add a comment, sign in
-
🌟 Day 76 of my 100-day coding challenge: Today, I solved LeetCode Problem 14: "Longest Common Prefix." My Approach: To find the longest common prefix, I used a helper function MaxPrefix that compares two strings and returns the longest common prefix between them. Starting with the first string in the array, I iterated through all other strings, updating the common prefix as I went. The process stops as soon as there's a mismatch between characters. This problem was a great exercise in string comparison and efficient handling of multiple inputs! #100DayCodingChallenge #LeetCodeProblemSolving #Day76 #LongestCommonPrefix
To view or add a comment, sign in
-
🔍✨ Today’s Daily LeetCode Challenge: Finding the Kth Bit in a Binary String! I tackled this problem by constructing the full binary string and directly accessing the Kth bit. It was quite easy and a great exercise in string manipulation and binary representation. 💡 Key takeaway: Sometimes, building the complete string simplifies the solution. Anyone else working on daily coding challenges? Let’s connect! #LeetCode #CodingChallenge #ProblemSolving
To view or add a comment, sign in
-
🤔 Decode the mystery! 🧩 #codechallenge Unleash your coding knowledge and crack the puzzle! What does the #secretCode function do to the input "HelloWorld"? Choose the right option: A) Reverse Encoding B) ASCII Shift C) Vowel Removal D) Double Concatenation Drop your answers below and let's unravel the secret together! 🕵️♂️💻 #Code #TechQuiz #ProgrammingPuzzle #codeiez
To view or add a comment, sign in