# Tag Archives: Accolite

## Find zeroes to be flipped so that number of consecutive 1’s is maximized

Given a binary array and an integer m, find the position of zeroes flipping which creates maximum number of consecutive 1’s in array. Examples :… Read More »

## Square root of an integer

Given an integer x, find square root of it. If x is not a perfect square, then return floor(√x). Examples : Input: x = 4… Read More »

## Accolite Interview Experience | Set 9 (On-Campus)

Accolite Software visited our campus on 31st august 2015. At first, they conducted pre-placement-talk that was the most interesting session i ever attended. Followed by… Read More »

## Accolite Interview Experience | Set 8

Round -1(written) 20 Online MCQ topics are c, Data Structure and Algorithms, Networks, DBMS,OS Round 1(F2F) [1.5 hr] Introduce yourself. 1) Sort array [0,1,1,1,1,0,0,1] do… Read More »

## Accolite Interview Experience | Set 7 (On-Campus)

Accolite visited our campus for full time Software development. First round: MCQ round consists of 30 questions 30 minutes. Questions on C aptitude, four to… Read More »

## Accolite Interview Experience | Set 6 (On-Campus)

Round 1(Written): There was a technical online test in the first round. 20 questions were to be done in 30 minutes.Questions were basically from data… Read More »

## Trapping Rain Water

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap… Read More »

## Accolite Interview Experience | Set 5 (On-Campus)

Accolite Interview Experience (On-Campus) Round 1 (Written) Around 190 students appeared for the online test which consists of 30MCQ’s to be done in 30minutes, questions… Read More »

## Find minimum number of coins that make a given value

Given a value V, if we want to make change for V cents, and we have infinite supply of each of C = { C1,… Read More »

## Minimum time required to rot all oranges

Given a matrix of dimension m*n where each cell in the matrix can have values 0, 1 or 2 which has the following meaning: 0:… Read More »

## Accolite Interview Experience | Set 4 (On-Campus)

Round 1 (Written) Around 140 students appeared for the offline test. There were 20 MCQs that to be done in (30 minutes), questions were from… Read More »

## Count distinct elements in every window of size k

Given an array of size n and an integer k, return the count of distinct numbers in all windows of size k. Example: Input: arr[]… Read More »

## Find a pair with maximum product in array of Integers

Given an array with both +ive and -ive integers, return a pair with highest product. Examples : Input: arr[] = {1, 4, 3, 6, 7,… Read More »

## Find the point where maximum intervals overlap

Consider a big party where a log register for guest’s entry and exit times is maintained. Find the time at which there are maximum guests… Read More »

## Find nth Magic Number

A magic number is defined as a number which can be expressed as a power of 5 or sum of unique powers of 5. First… Read More »