Skip to content
Gblog Analysis of Monolithic and Distributed Systems – Learn System Design
System analysis is the process of gathering the requirements of the system prior to the designing system in order to study the design of our… Read More
Given a value n, find out the largest palindrome number which is product of two n digit numbers. Examples :  Input : n = 2… Read More
Given Q queries, of type: L R, for each query you must print the maximum number of divisors that a number x (L <= x… Read More
Given the number of vertices and the degree of each vertex where vertex numbers are 1, 2, 3,…n. The task is to identify whether it… Read More
You are given two numbers a and b (1 <= a,b <= 10^8 ) and n. The task is to find all numbers between a… Read More
Given a matrix M of size m x n ( 1 <= m,n <= 1000 ). It is initially filled with integers from 1 to… Read More
Oracle 2 years Experienced Hyderabad location. There were 3 tech round and 1 director round. Round 1 1: If there is sudden cut off in… Read More
java.util.Arrays.copyOf() method is in java.util.Arrays class. It copies the specified array, truncating or padding with false (if necessary) so the copy has the specified length.… Read More
First Technical Round Given NXN matrix filled with 1,0,2,3. 1(Source) 2(Destination) 3(Blank cell) 0(wall) Write a code to identify whether there is a path possible… Read More
The reverseOrder() method of Collections class that in itself is present inside java.util package returns a comparator and using this comparator we can order the… Read More
Prerequisite – Image Processing in Java – Read and Write In this set, we will learn about the pixels of images, how we can get… Read More
Round 1 It was an online coding round conducted on cocubes.com. It was a 75 minutes round consisting of 3 coding questions only. Questions were:… Read More
shuffle() method of Collections class as the class name suggests is present in utility package known as java.util that shuffles the elements in the list.… Read More
Following methods can be used for converting ArrayList to Array:  Method 1: Using Object[] toArray() method Syntax:   public Object[] toArray()   It is specified by… Read More
Predict the output of following Java program // Note static keyword after import. import static java.lang.System.*;      class StaticImportDemo {    public static void main(String args[])… Read More
java.util.Collections.swap() method is a java.util.Collections class method. It swaps elements at the specified positions in given list. // Swaps elements at positions "i" and "j"… Read More

Start Your Coding Journey Now!