Gblog 100 Days of Code – A Complete Guide For Beginners and Experienced
Do you want to become a successful software developer and dreaming about getting into the big tech companies? Are you someone who is already working… Read More
Videos
Explore
Given a set of strings, find the longest common prefix.  Input : {“geeksforgeeks”, “geeks”, “geek”, “geezer”} Output : "gee" Input : {"apple", "ape", "april"} Output… Read More
Given a set of strings, find the longest common prefix.  Examples:  Input : {“geeksforgeeks”, “geeks”, “geek”, “geezer”} Output : "gee" Input : {"apple", "ape", "april"}… Read More
Consider below list where each digit from 1 to 9 maps to few characters. 1 -> ['A', 'B', 'C'] 2 -> ['D', 'E', 'F'] 3… Read More
Dinoo is worried that he might have a rare disease. He decides to get himself  tested, and suppose that the testing methods for this disease… Read More
Given a word, find a lexicographically smaller permutation of it. For example, lexicographically smaller permutation of “4321” is “4312” and the next smaller permutation of… Read More
Prerequisite: Minimax Algorithm in Game TheoryAs seen in the above article, each leaf node had a value associated with it. We had stored this value… Read More