Day #60 of 100Days100LeetCode challenge and i have solved Permutation Sequence problem ⭐ Time Complexity: O(n) Space Complexity: O(n) My LeetCode: https://lnkd.in/ghW6nCFp Problem Link: https://lnkd.in/geNE8-5v GitHub: https://lnkd.in/gqwKCxRX #100Days100LeetCode #LeetCodeChallenge #CodingChallenge #Algorithm #PermutationSequence #JavaProgramming #AlgorithmPractice #SoftwareDevelopment #ProblemSolving #CodingJourney #CodeNewbie #SoftwareEngineer #TechLinkedIn #DeveloperCommunity #LinkedInCoding #ProgrammingLife #DailyCoding #100DaysOfCode #ProgrammingSkills
Bhoopendra .’s Post
More Relevant Posts
-
Day #61 of #100Days100leetCode challenge and i have just solved Rotate List problem ⭐ Time Complexity: O(n) Space Complexity: O(1) My LeetCode: https://lnkd.in/ghW6nCFp Problem Link: https://lnkd.in/gK9XwB_8 GitHub: https://lnkd.in/gK2tK-UJ #100Days100leetCode #leetCodeChallenge #CodingChallenge #Algorithm #RotateList #JavaProgramming #AlgorithmPractice #SoftwareDevelopment #ProblemSolving #CodingJourney #CodeNewbie #SoftwareEngineer #TechLinkedIn #DeveloperCommunity #LinkedInCoding #ProgrammingLife #DailyCoding #100DaysOfCode #ProgrammingSkills #techenthusiast
To view or add a comment, sign in
-
🎯 Day 11: 100 Days of Code Challenge Today, I tackled LeetCode Problem 1545: Find Kth Bit in Nth Binary String! 🧩 I used recursive thinking to break down the problem, focusing on how to find the Kth bit in the transformed binary sequence. This problem was a great exercise in string manipulation and recursion, and it challenged me to think in terms of both base cases and recursive structures. Here’s a quick breakdown of my approach: Calculated the total length of the sequence for the current n. Utilized recursion to locate the middle bit, as it plays a key role in identifying the Kth bit. Implemented logic to invert and reverse the string efficiently using bit manipulation techniques. Looking forward to the next challenge! #100DaysOfCode #CodingChallenge #LeetCode #RecursiveThinking #ProblemSolving
To view or add a comment, sign in
-
Day 08 & 09 of #100DaysOfCode Challenge! 🚀 Date: 02/03/2024 (Day 08) Date: 03/03/2024 (Day 09) Total Questions Solved: 13 In these two days, I learned the graph theory traversal concepts like Depth-First Search and Breadth-First Search. Along with this, I solved two questions based on Depth-First Search, which are:- Q1) Print the size of the connected components containing node X and find if node X and Y lie in the same connected component or not. Q2) Find out the number of ways to add exactly one edge between any two nodes such that the total no. of connected components in the graph decreases. Total question solved = 13 ( 6 AZ + 7 other) Jai Shree Ram! #100DaysOfCode #CodingJourney #ConsistencyIsKey #DailyCodingHabit #CodingChallenges
To view or add a comment, sign in
-
🎯 Day 11: 100 Days of Code Challenge Today, I tackled LeetCode Problem 1545: Find Kth Bit in Nth Binary String! 🧩 I used recursive thinking to break down the problem, focusing on how to find the Kth bit in the transformed binary sequence. This problem was a great exercise in string manipulation and recursion, and it challenged me to think in terms of both base cases and recursive structures. Here’s a quick breakdown of my approach: Calculated the total length of the sequence for the current n. Utilized recursion to locate the middle bit, as it plays a key role in identifying the Kth bit. Implemented logic to invert and reverse the string efficiently using bit manipulation techniques. Looking forward to the next challenge! hashtag #100DaysOfCode #CodingChallenge #LeetCode #RecursiveThinking #ProblemSolving
To view or add a comment, sign in
-
🚀 Day 19/200 of #200DayDSAChallenge 🚀 Today, I tackled two interesting problems on LeetCode, continuing to build my problem-solving skills in Data Structures and Algorithms: 🔢 LeetCode Q.443: String Compression This problem required me to implement a function that modifies an array of characters by compressing it in-place. The goal was to use a two-pointer approach to handle the compression without additional memory, making the solution efficient. 🔄 LeetCode Q.567: Permutation in String In this problem, I needed to check if one string is a permutation of another, which called for efficient string comparison using sliding window technique. I optimized my approach to improve the time complexity, ensuring that the solution scales well for larger inputs. Feeling confident with my progress in sliding window and string manipulation techniques. On to the next challenges! 💪 #LeetCode #DSA #CodingChallenge #DataStructures #Algorithms #200DayDSA #ProblemSolving #LeetCodeSolutions #TechJourney #KeepLearning #GrowthMindset #Programming
To view or add a comment, sign in
-
Currently Working on Salesforce CRM, with a focus on mastering Apex, SOQL, and Lightning Web Components (LWC) to build robust and scalable applications on the Salesforce platform.
Day : 67 Date: 16-01-2024 Problem Number and Title : 67. Add Binary Approach: 1. Initialize an empty string result to store the final binary sum and a variable carry to keep track of any carry during addition. 2. Start iterating from the least significant bit (rightmost) of both input binary strings (a and b). 3. In each iteration, add the corresponding bits of a, b, and the carry. Update the carry for the next iteration. 4. Append the least significant bit of the sum to the left of the result string. 5. Continue the iteration until both input binary strings are processed, and there is no carry left. 6. After the loop, if there is any remaining carry, append it to the left of the result string. 7.Return the final binary sum. Time Complexity: O(max(N, M)),where N and M are the lengths of the input binary strings a and b. Space Complexity: O(max(N, M)) for the space used by the result string. Happy Coding 🧑💻 #100DaysOfDSA #DataStructures #Algorithms #CodingChallenge #TechCommunity #ProgrammingJourney Code :
To view or add a comment, sign in
-
Day 4 Daily Code Challenge:- Kth Smallest Element in a BST #CodeChallenge #DailyCodeChallenge #ProgrammingChallenge #CodeForFun #Algorithm #DataStructure #CodingIsFun #SoftwareDevelopment #CodeValidation #BSTValidation #CodeReview #TechCommunity #LearnToCode #CodeSnippet #CodeUpload
To view or add a comment, sign in
-
Day #65 of #100Days100LeetCode challenge and i have just solved Valid Number problem ⭐ Time Complexity: O(n) Space Complexity: O(1) My LeetCode: https://lnkd.in/ghW6nCFp Problem Link: https://lnkd.in/gbhr_-KN GitHub: https://lnkd.in/g4AyfkCM #100Days100LeetCode #problem65 #LeetCodeChallenge #MinimumPathSum #DynamicProgramming #Algorithm #CodingChallenge #SoftwareDevelopment #ProblemSolving #ProgrammingLife #TechTwitter #CodeNewbie #SoftwareEngineer #100DaysOfCode #ProgrammingSkills #TechLinkedIn
To view or add a comment, sign in
-
🚀Day 27/100 of #100DaysOfCode🚀 This is 27th day of 100daysofcode series. Today, I recall previous topics :- - Array - String - Loops - Sorting - Function - Patterns - Recursion And practiced them as well. #100DaysOfCode #Codingchallenge #Problemsolving
To view or add a comment, sign in
-
Electronics and communication engineering || student at Sri Ramakrishna Engineering College || Microsoft learn student ambassador || President-Social innovation club ||
Day 18 ✅ of the #30DaysOfCode challenge on LeetCode ! Solved the 'Merge Sorted Arrays' problem using C. Each problem helps sharpen my problem-solving skills and deepens my understanding of data structures and algorithms. #LeetCode #ProblemSolving #CProgramming #CodingChallenge #KeepLearning #30DaysOfCode
To view or add a comment, sign in