Yash GuptaPattern 12:Two Pointers(hare and tortoise) ApproachIn this approach, We take a SLOW Pointer which is incremented by 1 and a FAST Pointer which is incremented by 2Jun 2, 2020Jun 2, 2020
Yash GuptaPattern 11:Two Pointers(start and end)ApproachIn this approach, we consider two pointers to completely traverse the ARRAY.Jun 2, 2020Jun 2, 2020
Yash Gupta(Dynamic Prog.)Pattern - 1Solution to problem can be achieved by considering all subsets of items, there can be two cases for every item. Case 1: The item is…May 15, 2020May 15, 2020
Yash Gupta(Dynamic Prog.) Pattern 5To obtain the solution to current subproblem , we add the solutions obtained for previous subproblemMay 11, 2020May 11, 2020
Yash GuptaLinux Basic Commands -2Today, we are going to learn about unix commandMay 11, 2020May 11, 2020
Yash GuptaUnix QuestionsQuestion 1: Write the unix command to count the occurrence of the word “Unix” in a given file.The file will be given as command line…May 10, 2020May 10, 2020
Yash GuptaLearning Unix Commands -5To store the contents(e.g. text) and perform operations on them the first step is the creation of a fileMay 10, 2020May 10, 2020