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 »
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 »
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 »
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 »
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 »
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 »
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 »
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 »
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 »
Given a number check whether it is power of 8 or not. Examples : Input : n = 64 Output : Yes Input : 75… Read More »
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 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 »
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 »
Given a positive integer n, we have to find the total number of divisors for n. Examples: Input : n = 25 Output : 3… Read More »
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 »
Given a number you have to check whether there is pair of adjacent set bit or not. Examples : Input : N = 67 Output… Read More »