At what time will the hrs hand and minute hand will be pointing just opposite to each other between 7:00 AM and 8:00 AM? (A)… Read More

All Medium Articles

Recently I appeared in interview for MTS-1 Adobe. Here is my experience. Written Round: Very easy aptitude Questions on geometry, DI, profit loss etc. Main… Read More

How to do the following operations efficiently if there are large number of queries for them. Insertion Deletion Searching Clearing/Removing all the elements. One solution… Read More

Round 1: It was a written round with three question. Q1) Find a peak element. Q2) Top View of binary tree. Q3) Maximum difference between… Read More

Round 1: It was a writen round with three questions : 1. Find a row with maximum number of 1’s in a sorted 2D Boolean… Read More

Write a code to convert a matrix in specific way without using extra space. Input: 1 2 3 4 5 6 7 8 9 Output:… Read More

Iterator Pattern is a relatively simple and frequently used design pattern. There are a lot of data structures/collections available in every language. Each collection must… Read More

Prerequisite – Binary Heap K-ary heaps are a generalization of binary heap(K=2) in which each node have K children instead of 2. Just like binary… Read More

Identifying languages (or problems*) as decidable, undecidable or partially decidable is a very common question in GATE. With correct knowledge and ample experience, this question… Read More

Hello friends, I am going to share my interview experience about GE(General Electric) (for computer science candidates) First round(written round): The first round was of… Read More

All data structure has its own special characteristics for example a BST is used when quick searching of an element (in log(n)) is required. A… Read More

This is the main forum where I did all my preparation. Thanks a lot GeeksForGeeks! Here’s giving back.. I had got a call from the… Read More

Given a Binary Tree, convert it into Doubly Linked List where the nodes are represented Spirally. The left pointer of the binary tree node should… Read More

A time of a clock is set 3.40. Find out the angle that is formed by both hour hand and minute hand: (A) 120 degrees… Read More

Sam sets alarm at 5 am. But the clock loses 16 minutes in 24 hours. Effectively, the clock indicates 10:00 pm on the 4th day.… Read More

1) A lot of question around image compression and color reduction (One of my projects was on it.) 2) https://www.geeksforgeeks.org/detect-and-remove-loop-in-a-linked-list/ (proof of hare tortoise algo… Read More

Telephonic Round Q1- https://www.geeksforgeeks.org/given-linked-list-reverse-alternate-nodes-append-end/amazon Q2. Find kth node from end in a link list(Asked its many solutions) Q3. Print the extreme left and extreme right… Read More

Consider a computer with a 4-ways set-associative mapped cache of the following characteristics: a total of 1 MB of main memory, a word size of… Read More

Consider a computer with a 4-ways set-associative mapped cache of the following characteristics: a total of 1 MB of main memory, a word size of… Read More

The minimum frame size required for a CSMA/CD based computer network running at 1 Gbps on a 200m cable with a link speed of 2… Read More