QA – Placement Quizzes | Clocks Clocks Clocks | Question 8

A clock shows 10:00 AM. When it is 10:00 PM, by what degree the hour hand rotates? (A) 180 (B) 175 (C) 240 (D) 360… Read More »

QA – Placement Quizzes | Clocks Clocks Clocks | Question 7

A clock shows 10:00 AM. When it is 4:00 PM, by what degree the hour hand rotates? (A) 140º (B) 152º (C) 175º (D) 180º… Read More »

QA – Placement Quizzes | Clocks Clocks Clocks | Question 6

A clock shows 8:00 AM. When it is 2:00 PM, by what degree the hour hand rotates? (A) 145º (B) 160º (C) 180º (D) 175º… Read More »

Curiously recurring template pattern (CRTP)

Background: It is recommended to refer Virtual Functions and Runtime Polymorphism as a prerequisite of this. Below is an example program to demonstrate run time… Read More »

OpenCV C++ Program to blur a Video

The following is the explanation to the C++ code to blur a video in C++ using the tool OpenCV. Things to know: (1) The code will… Read More »

StringBuffer class in Java

String Class in Java StringBuffer is a peer class of String that provides much of the functionality of strings. String represents fixed-length, immutable character sequences… Read More »

Find all occurrences of a given word in a matrix

Given a 2D grid of characters and a word, find all occurrences of given word in grid. A word can be matched in all 8… Read More »

Given a linked list which is sorted based on absolute values. Sort the list based on actual values. Examples: Input : 1 -> -10 output:… Read More »

The Game : Consider an n × n array of squares. Some of the squares are empty, some are solid, and some non-solid squares are… Read More »

Number of ways to traverse an N-ary tree

Given an n-ary tree, count number of ways to traverse an n-ary (or a Directed Acyclic Graph) tree starting from the root vertex. Suppose we… Read More »

Adobe Interview Experience | Set 34 (For MTS-1)

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 »

Sparse Set

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 »

Common elements in all rows of a given matrix

Given an m x n matrix, find all common elements present in all rows in O(mn) time and one traversal of matrix. Example: Input: mat[4][5]… Read More »

Puzzle 54 | Fill the Jug

There are two jugs each of 4 and 3 liters respectively , without any measuring marks. how many minimum steps are required to have 2… Read More »

Puzzle 53 | The Counterfeit Coin

A box contains n coins, of which 7 of them are counterfeit with tails on both sides and the rest are fair coins. If one… Read More »