Gblog SDE SHEET – A Complete Guide for SDE Preparation
What is SDE Sheet? SDE Sheet is a list of the most important topics or the most popular questions that are asked in the Software… Read More
A file is a collection of related information that is recorded on secondary storage. Or file is a collection of logically related entities. From user’s… Read More
Virtual Memory is a storage allocation scheme in which secondary memory can be addressed as though it were part of the main memory. The… Read More
Given an array of n elements. The task is to count the total number of indices (i, j) such that arr[i] = arr[j] and i… Read More
We have given numbers in form of triangle, by starting at the top of the triangle and moving to adjacent numbers on the row below,… Read More
National Institute of Electronics & Information Technology (NIELIT), erstwhile known as the DOEACC Society, is an autonomous scientific society under the administrative control of Ministry… Read More
Given a 2-D matrix A[N][M] where A[i][j] denotes the points available on this cell. Two persons, P1 and P2, start from two corners of this… Read More
For any given two numbers n and m, you have to find n*m without using any multiplication operator. Examples :   Input: n = 25 , m… Read More
This is not a new sorting algorithm, but an idea when we need to avoid swapping of large objects or need to access elements of… Read More
Given two strings, the task is to find if they are only less than or equal to k edit distance apart. It means that strings… Read More
We have discussed bucket sort in the main post on Bucket Sort . Bucket sort is mainly useful when input is uniformly distributed over a range.… Read More
The exec family of functions replaces the current running process with a new process. It can be used to run a C program by using… Read More
I got a call from an consultant for recruitment drive in Delhi. First round (1 hour 30 minutes): online writtenIt was online written round on… Read More
Given three positive integers a, b and n. Consider a list that has all multiples of ‘a’ and ‘b’. the list is  sorted and duplicates… Read More
In this article we are discussing the SLR parser, CLR parser and LALR parser which are the parts of Bottom Up parser. SLR Parser The… Read More
In this article, we are discussing the Bottom Up parser. Bottom Up Parsers / Shift Reduce Parsers Build the parse tree from leaves to root.… Read More