/CodingChallengeProblems

A repository for me to keep up with coding challenge problems (think: LeetCode) from various sources.

Primary LanguageC++

Coding Challenge Problems

A repository for me to keep up with coding challenge problems (think: LeetCode) from various sources.

To-Do

  • Refactor *Hash challenge problems to abandon generics in favor of int types (because otherwise, binning for floats, etc., is bad news!).
  • More exercises.
  • More languages.

Changelog

31 May 2023

  1. Beginning of LeetCode, and initial commit of LeetCode/CPP/1TwoSum.cpp.

18 May 2023

  1. Modified some Section 8 files to eliminate unnecessary size parameter + updated TODO list above.
  2. Later, modified more Section 8 files to rename arr parameter as A.
  3. Completed first versions of StringPermutations, ... , and made small edits throughout.
  4. Cleaned up repo by deleting .exe files (these never should have been uploaded) + making initial commits of some missed files from yesterday.

17 May 2023

  1. In CountDuplicatesUnsorted: Removed unused Min and Max functions.
  2. Later, added PairSumUnsorted, PairSumUnsortedHash, PairSumSorted, and SinglePassMaxMin from Udemy's Mastering Data Structures & Algorithms using C and C++ course (link).
  3. After finishing the Section 7 algorithms (above), added Print functionality to all.
  4. From Section 8, added StringToggleCase, CountConsonantsAndVowels, CountWords, StringReverse, CompareStrings, IsPalindrome, StringCountDuplicates, StringCountDuplicatesHash, StringFindDuplicatesBitwise, and IsAnagram, and the related ToUpperCase and ToLowerCase.
  5. Made a small correction to CountDuplicatesUnsortedHash.
  6. Eventually: Added a Udemy subdirectory to future-proof the repo.

16 May 2023

  1. Initial commit + README.
  2. Later, created CPP directory.
  3. Later, created + updated versions of FindMissingElementSorted, FindMissingElementSortedStart, FindMissingElementSortedMultiple, FindMissingElementUnsortedHash, FindDuplicatesSorted, CountDuplicatesSorted, CountDuplicatesSortedHash, CountDuplicatesUnsortedHash, and CountDuplicatesUnsorted from Udemy's Mastering Data Structures & Algorithms using C and C++ course (link).