All Medium Articles
Two concurrent processes P1 and P2 use four shared resources R1, R2, R3 and R4, as shown below. P1 P2 Compute: Use R1; Use R2;… Read More
A function f defined on stacks of integers satisfies the following properties. f(∅) = 0 and f (push (S, i)) = max (f(S), 0) +… Read More
To understand this topic, you should have a basic idea about Functional Dependency & Candidate keys and Normal forms . Steps to find the highest normal form of… Read More
Write a function that takes a file name as argument and prints all unique words in it. We strongly recommend you to minimize your browser… Read More
Given an array arr[] of size n. Three elements arr[i], arr[j] and arr[k] form an inversion of size 3 if a[i] > a[j] >a[k] and… Read More
The article focuses on using an algorithm for solving a system of linear equations. We will deal with the matrix of coefficients. Gaussian Elimination does… Read More
Given a number ‘n’ and a prime ‘p’, find square root of n under modulo p if it exists. It may be given that p… Read More
Coding Round : 1. https://www.geeksforgeeks.org/reverse-a-list-in-groups-of-given-size/ 2. Do not remember second question but it was on binary tree. Group-fly round : Remove repeating charaters from a… Read More
1) Written Test on Unix Shell Scripting 1. write a script/command to find files older than 7days and zip them and move to specific folder.… Read More
Round 1: 1.Quantative (16 ques in 16 min) 2.Reasoning(14 in 14 min). 3.English(18 in 16 min). 4.Coding(2 question in 45 min). (I)Print pattern(for N=4) 1… Read More
Round 2: Paper written coding 1) Given an unsorted array with a group of characters taken from the user. Find the first occurrence of non… Read More
1. Written Round : 1) 30 Aptitude questions(30 min). 2) 2-Coding questions(30 min). 2-a) Write an algorithm for dutch national flag problem 2-b) Write an… Read More
Many people are very afraid of behavioral interview questions in the technical rounds as they seem to be just something most programmers are not good… Read More
Geeksforgeeks has helped me a lot. In order to help other students I would like to share my experience. Step 1: I applied through a… Read More
Inversion Count for an array indicates – how far (or close) the array is from being sorted. If array is already sorted then inversion count… Read More
A TCP message consisting of 2100 bytes is passed to IP for delivery across two networks. The first network can carry a maximum payload of… Read More
Given a large number n and a prime p, how to efficiently compute n! % p?Examples :   Input: n = 5, p = 13 Output:… Read More
I was interviewed on-campus for Software Development Engineering (SDE1) role Flipkart. Coding round: (90 minutes) Coding round was done on hackerrank . Given two numbers… Read More
Consider a table T in a relational database with a key field K. A B-tree of order p is used as an access structure on… Read More
  In this post, we will discuss Important top 10 algorithms and data structures for competitive coding. Topics :  Graph algorithms Dynamic programming Searching and… Read More