All Medium Articles
Round 1: It was Hackerrank test for 2 hours. Both questions were matrix based Given a matrix consisting of only zeroes and ones.Cell containing 1… Read More
Round 1: Coding Round 2 coding questions both from strings : To find no of distinct years from the given paragraph.(paragraph consists of 2 or… Read More
There are N Balloons marked with value Bi (where B(i…N)). User will be given Gun with N Bullets and user must shot N times. When any balloon… Read More
The pollLast() method of NavigableSet interface in Java is used to retrieve and remove the last (highest) element, or returns null if this set is… Read More
The pollFirst() method of NavigableSet interface in Java is used to retrieves and removes the first (lowest) element, or returns null if this set is… Read More
Given a value K which is the XOR of all the values from 1 to N, the task is to find the minimum value of… Read More
Given a number N. The task is to find the sum of the decimal equivalent of all the pairs formed from the binary representation of… Read More
Given a non-negative integer N. The task is to invert the bits of the number N and print the decimal equivalent of the number obtained… Read More
There are N fishing spots and 3 gates. At each gate there are some fishermen waiting to reach the nearest unoccupied fishing spot. (Total no… Read More
The IntToDoubleFunction Interface is a part of the java.util.function package which has been introduced since Java 8, to implement functional programming in Java. It represents… Read More
The std::swap is a general function used to exchange the given values whereas the std::vector::swap is a specialized function that can swap all the contents… Read More
The unordered_set::empty is a built-in function in C++ STL which is used to check if an unordered_set container is empty or not. It returns True… Read More
It happens many times that you have written correct Java code with as much optimization as needed according to the constraints. But, you get TLE… Read More
Round 1: The first round consist of 20 Computer Science Fundamentals MCQ and two coding questions. In MCQ importance were given to data structures and… Read More
Microsoft IDC visited our campus for internships. They set CGPA cut off as 7 for applying. Round-1(Online test) The first online round was on Co-Cubes… Read More
Apache POI is an open-source java library to create and manipulate various file formats based on Microsoft Office. Using POI, one should be able to… Read More
The SHA-2 family of cryptographic hash functions consists of six hash functions. These are: SHA-224, with 224-bit hash values SHA-256, with 256-bit hash values SHA-384,… Read More
Apache POI is an open-source java library to create and manipulate various file formats based on Microsoft Office. Using POI, one should be able to… Read More
HashMap is a part of Java’s collection since Java 1.2. It provides the basic implementation of Map interface of Java which stores the data in… Read More
Java Set is a part of java.util package and extends java.util.Collection interface. It does not allow the use of duplicate elements and at max can… Read More