InLeetSolvebyNhut NguyenHow To Find The Longest Substring Without Repeating CharactersA simple C++ solution to Leetcode 3. Longest Substring Without Repeating Characters using a sliding window approach and an unordered map to…Jan 31, 2024Jan 31, 2024
InLeetSolvebyNhut NguyenHow Efficient Code Can Reduce Maintenance, Bugs, and Enhance ReadabilityDiscover how optimizing your code can enhance your software development process and reliability.Nov 27, 2023Nov 27, 2023
InLeetSolvebyNhut NguyenHow To Find The Maximal Subarray Having Distinct ElementsA simple C++ solution to Leetcode 1695. Maximum Erasure Value using a sliding window approach and prefix sums.Jan 24, 2024Jan 24, 2024
InLeetSolvebyNhut NguyenHow to Define a Custom Comparison For a std::setAn example of defining a custom comparison for a std::set to solve Leetcode 729. My Calendar I.Nov 21, 2023Nov 21, 2023
InLeetSolvebyNhut NguyenHow To Convert a 2D Grid To a 1D Vector in C++A simple solution to Leetcode 1260. Shift 2D Grid.Nov 20, 2023Nov 20, 2023
InLeetSolvebyNhut NguyenBeyond Code Efficiency: The Profound Benefits of Finding Optimal SolutionsIt helps enhance your development skills and boost your confidence as a coder.Nov 15, 2023Nov 15, 2023
InLeetSolvebyNhut NguyenA Simple Example of a Recursive Algorithm on a Binary Search TreeA C++ recursive approach to solve Leetcode 235. Lowest Common Ancestor of a Binary Search Tree.Nov 29, 2023Nov 29, 2023
InLeetSolvebyNhut NguyenHow to Convert a Given Roman Numeral to its Equivalent Integer ValueA C++ solution to Leetcode 13. Roman to Integer using Hash table.Dec 1, 2023Dec 1, 2023
InLeetSolvebyNhut NguyenHow to Perform a Counting Using Array and Hash TableA simple C++ solution to Leetcode 387. First Unique Character in a String.Dec 6, 2023Dec 6, 2023
InLeetSolvebyNhut NguyenHow to Encode Morse CodeA C++ solution to Leetcode 804. Unique Morse Code WordsJan 10, 2024Jan 10, 2024
InLeetSolvebyNhut NguyenHow to Solve Coding Challenges: A Comprehensive GuideDec 20, 2023Dec 20, 2023
InLeetSolvebyNhut NguyenHow to Solve Leetcode 368. Largest Divisible SubsetThe representative — the math behind the problem.Nov 14, 2023Nov 14, 2023
InLeetSolvebyNhut NguyenHow to Solve Leetcode 1710. Maximum Units on a TruckAn example of a comparison between STL’s vectors in C++.Nov 10, 2023Nov 10, 2023
InLeetSolvebyNhut NguyenThe Hidden Power of Optimized Code: Efficiency, Scalability, and MoreMake your software work faster, save you money, and give users a smoother experience.Nov 8, 2023Nov 8, 2023
InLeetSolvebyNhut NguyenHow to Solve Coding Challenge 890. Find and Replace PatternAn example of using std::unordered_map to establish a bijection.Nov 6, 2023Nov 6, 2023
InLeetSolvebyNhut NguyenHow To Solve Coding Challenge 378. Kth Smallest Element in a Sorted MatrixAn interesting example for std::priority_queue, std::upper_bound, and the binary search.Nov 3, 2023Nov 3, 2023
InLeetSolvebyNhut NguyenWhy C++ Is Popular When Demonstrating Solutions To Coding ChallengesExploring C++ performance, control, libraries, and the culture of competitive programming.Nov 2, 2023Nov 2, 2023
InLeetSolvebyNhut Nguyen10 Reasons Why Practicing Coding Challenges is ImportantThe benefits and how to make the most of this powerful learning tool.Nov 1, 2023Nov 1, 2023