Gaurav Shahare·Apr 4, 2023Rich Dad Poor Dad Book in 5 Mins !!“Rich Dad Poor Dad” is a personal finance book written by Robert Kiyosaki that explores the differences in mindset and habits between his…
Gaurav Shahare·Jul 1, 2019Boyer Moore Voting algorithmGive an array A containing some number, you have to find the element whose occurrence in the array is more than A.size()/2A response icon3A response icon3
Gaurav Shahare·Dec 2, 2018CHECK IF TWO NODES ARE ON THE SAME PATH ON TREEConsider you have given a graph (Note: Tree is connected acyclic graph, it has at least 2 leaves and every edge is bridge edge), given…
Gaurav Shahare·Dec 1, 2018Number of music playlist (Leetcode problem)https://leetcode.com/problems/number-of-music-playlists/description/
Gaurav Shahare·Jun 28, 2018Count all palindromic subsequence in a stringSubstrings are those strings which can be formed from initial string , maintaining the relative order of all the characters in it.