## Output of Java Programs | Set 32

Prerequisite : Arrays in Java Question 1. What is the output of following program? filter_none edit close play_arrow link brightness_4 code class ArrayDemo { public… Read More »

## Wipro Turbo Hiring Process | Set 9 (For Project Engineer)

Profiles Offered: DIGITAL, ANALYTICS, PES, MNT, COMMUNICATION. FIRST ROUND(PART-1): Cocubes Online Test –70 Mins –60 Questions–MCQ’s 20-Technical(C, C++ or JAVA based upon your selection )-All… Read More »

## Check if sums of i-th row and i-th column are same in matrix

Given a matrix mat[][], we have to check if the sum of i-th row is equal to the sum of i-th column or not. Examples:… Read More »

## Sort an array according to absolute difference with a given value “using constant extra space”

Given an array of n distinct elements and a number x, arrange array elements according to the absolute difference with x, i. e., element having… Read More »

## Find n-th element in a series with only 2 digits (4 and 7) allowed | Set 2 (log(n) method)

Consider a series of numbers composed of only digits 4 and 7. First few numbers in the series are 4, 7, 44, 47, 74, 77,… Read More »

## Microsoft Interview Experience | Set 136 (On Campus for Internship)

First Round consisted of 3 easy coding problems to be solved on an online platform (CoCubes) . The problems were fairly easy and didn’t require… Read More »

## Word Break Problem | (Trie solution)

Given an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words.… Read More »

## Qualcomm Interview Experience | Set 15 (On-Campus)

Round 1: Written exam with three section, quantitative and reasoning, computer science and last one is programming MCQ, each section with 25 min and 20… Read More »

## Check if a number is power of 8 or not

Given a number check whether it is power of 8 or not. Examples : Input : n = 64 Output : Yes Input : 75… Read More »

## Factset Interview Experience | Set 12 (On-Campus)

First Round(Pen and Paper based coding round)- 60 min 1. You are given a NxN matrix.You have to rotate same coloured rectangle clockwise or anticlockwise… Read More »

## Yatra.com Interview Experience | Set 8 (On-Campus for Software Developer )

Yatra visited our campus. There were 5 rounds. #Round 1:Online Test on hackerrank. It consisted of 15 MCQs and 4 coding questions. MCQs were having… Read More »

## Maximum sum bitonic subarray

Given an array containing n numbers. The problem is to find the maximum sum bitonic subarray. A bitonic subarray is a subarray in which elements… Read More »

## Total number of divisors for a given number

Given a positive integer n, we have to find the total number of divisors for n. Examples: Input : n = 25 Output : 3… Read More »

## Sorting array of strings (or words) using Trie

Given an array of strings, print them in alphabetical (dictionary) order. If there are duplicates in input array, we need to print them only once.… Read More »

## Check if a number has two adjacent set bits

Given a number you have to check whether there is pair of adjacent set bit or not. Examples : Input : N = 67 Output… Read More »