## 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 »

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 »

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 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 »

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 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 »

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 »

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 (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 »

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 »

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 »

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 »

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

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 »

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 »

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 »