Skip to content
Gblog GeeksforGeeks Job-A-Thon – Are You Ready For This Hiring Challenge?
Everyone will agree with this, especially college students or freshers, that to get connected with the recruiters and grab worthwhile job opportunities for getting into… Read More
Progressions (or Sequences and Series) are numbers arranged in a particular order such that they form a predictable order. By predictable order, we mean that… Read More
We can declare interfaces as member of a class or another interface. Such an interface is called as member interface or nested interface. Interface in… Read More
The problems in Clocks usually deal with finding the angle between the hour hand and the minute hand, number of times the two hands coincide,… Read More
I recently attended Microsoft Interview for Software Engineer role in Bing Team. Round 1: Its initial screening round. It has happened through skype. 1. Given… Read More
getchar_unlocked() is similar to getchar() with the exception that it is not thread safe. Below is an example code. // A simple C program to… Read More
The amount which is lent / deposited is called Principal The money that the principal generates is called Interest. This is the money generated as… Read More
The amount which is lent / deposited is called Principal The money that the principal generates is called Interest. This is the money generated as… Read More
Profit and Loss is a topic that is definitely asked in every placement exam. While the questions are not too tricky, some require deeper understanding… Read More
Given a linked list handling string data, check to see whether data is palindrome or not? For example, Input : a -> bc -> d… Read More
Given singly linked list with every node having an additional “arbitrary” pointer that currently points to NULL. We need to make the “arbitrary” pointer to… Read More
Given an ancestor matrix mat[n][n] where Ancestor matrix is defined as below.  mat[i][j] = 1 if i is ancestor of j mat[i][j] = 0, otherwise… Read More
Number is represented in linked list such that each digit corresponds to a node in linked list. Add 1 to it. For example 1999 is… Read More
There were 6 rounds in total. 1) Online coding – hackerearth Three Questions in 1.15hr. Total 50 marks. Questions were in increasing order of the… Read More
Given two strings, find the length of the longest subsequence present in both of them.   Examples:  LCS for input Sequences “ABCDGH” and “AEDFHR” is “ADH”… Read More
Given an array of integers, and a number ‘sum’, find the number of pairs of integers in the array whose sum is equal to ‘sum’.… Read More