Day 15/100 #100DaysOfCode Challenge on LeetCode 🚀 Permutations-II "Optimized permutation generation by sorting the array and using a set to skip duplicate swaps, preventing redundant permutations. This avoids post-processing and ensures unique results during recursion." Feel free to connect on LeetCode https://lnkd.in/dKwbNgvU and share your progress, tips, and favorite problems #DrGViswanathan #VITBhopal #VITBhopalLion #LeetCode #DSA #100DaysOfCode
Manik Pandey’s Post
More Relevant Posts
-
Day 7 of #100daysofcode Question: Maximum SubArray Approach: Iteratively find the maximum subarray sum by discarding negative subarrays and updating the overall maximum. Platform: LeetCode #day7 #drviswanathan #vitbhopal
To view or add a comment, sign in
-
🚀 Day 38 of #100DaysOfDSA Today, I solved the Combination Sum II problem on LeetCode! 💻 This problem required me to find unique combinations of numbers that add up to a specific target, allowing each number to be used only once. 🔢 Key Takeaways: Strengthened my understanding of backtracking and recursive approaches 🌐 Learned techniques to handle duplicates effectively in combination problems 🧠 Looking forward to more problem-solving! #DrGViswanathan #VITBhopal #VITBhopalLion #100DaysOfDSA #LeetCode #LeetCodeJourney #ProblemSolving #DailyProgress
To view or add a comment, sign in
-
Day 96 of #100DayOfCodingChallenge: Permutations II ( LEETCODE || Problem 47 ) Given a collection of numbers, nums, that might contain duplicates, return all possible unique permutations in any order. #100DaysOfCode #codingchallenges #Drgviswanathan #vitbhopal #leetcode #Cpp
To view or add a comment, sign in
-
Day 17/100 #100DaysOfCode Challenge on LeetCode 🚀 1️⃣ Spiral Matrix The problem is to return all elements of a 2D matrix in spiral order, starting from the top-left and proceeding clockwise. Feel free to connect on LeetCode https://lnkd.in/dKwbNgvU and share your progress, tips, and favorite problems #DrGViswanathan #VITBhopal #VITBhopalLion #LeetCode #DSA #100DaysOfCode
To view or add a comment, sign in
-
Day 20/100 Day 20 of solving another LeetCode problem based on "Next Permutation" with Time Complexity of O(n). #DrGViswanathan #Challenge #100DaysofCoding #LeetCode
To view or add a comment, sign in
-
VIT'27 | CSE(AIML) | C++ | DSA | Web Developer | Top Contributor - Google Crowdsource | HackerRank(5-Star)
Day 38 of the 100 Days of Code #DrGViswanathanChallenge Problem Solved: Longest Square Streak in an Array Platform: LeetCode Problem Link: https://lnkd.in/dPWEhcR6 #100DaysOfCode #DrGViswanathan #VIT #DSA #ProblemSolving #LeetCode
To view or add a comment, sign in
-
Day 35 of #100daysofcode Question: Odd Even LinkedList Approach: The code separates nodes into even and odd lists while traversing, then links them and returns the head of the odd list. Platform: LeetCode #drgviswanathan #vitbhopal #day35
To view or add a comment, sign in
-
Day 8 of #100daysofcode Question: Longest Consecutive Sequence Approach: Sorts the array, then iterates through it, counting consecutive numbers and updating the maximum count found. Platform: LeetCode #day8 #drgviswanathan #vitbhopal
To view or add a comment, sign in
-
Day -> 93 #100daysofcode Question solved -> 1 1. Longest Square Streak in an Array (Medium) Code link -> https://lnkd.in/dP8x97Q3 #100daysofcode #100daychallenge #dsa #dsachallenge #leetcode #leetcodechallenge
To view or add a comment, sign in
-
GDG on campus Organizer @SRIT | CSE '26 | Include<Her>Cohort 4.0 @MicrosoftAzure |Mern stack developer | Python, SQL , DSA (java), HTML5 , Css , React js , Ai | HackAithon
#progressoftheday Day 44 Update ✅Solved the LeetCode daily challenge, '1152. Magnetic Force Between Two Balls', using binary search and an optimal solution. Problem link :https://lnkd.in/dJTHjpkU #LeetCode #BinarySearch #OptimalSolution #ProblemSolving #CodingJourney #dsa #leetcodedailychallenge
To view or add a comment, sign in