Saurav guptaDifferent Approaches to Prime FactorizationThere are mainly 3 approaches to solve this problemJul 26, 2020Jul 26, 2020
Saurav guptaFind the largest permutation possible by doing at most K swaps among a pair of the given…FIRST APPROACH:May 16, 2020May 16, 2020
Saurav guptaImplement the Split function in C++ using stringstream.If you do write code in C++ then you must have encountered with the problem of lack of split like method in C++. Specifically, if I am…May 16, 2020May 16, 2020
Saurav guptaUnordered_map: Hash functions for the custom class in C++.If you are reading this post, I assume you have a clear understanding of how Map and Unordered_map of C++ STL works. If yes, then here I…May 14, 2020May 14, 2020
Saurav guptaTokenization using strtok() built-in method in C/C++.If you are a computer science guy, who studied basic programming languages like C, C++, and pythons, etc. In all those pythons is…May 13, 2020May 13, 2020