java.util.Calendar.equals() is a method in Calendar class of java.util package. The method compares this Calendar to the specified Object.The method returns true if this object… Read More »

#
All Medium Articles

Given three integers A, B and N the task is to find N Geometric means between A and B. WE basically need to insert N… Read More »

Prerequisite : Streams in Java8 The limit(long N) is a method of java.util.stream.Stream object. This method takes one (long N) as an argument and returns… Read More »

Given an array A of size N consisting of elements 1 to N. A boolean array B consisting of N-1 elements indicates that if B[i]… Read More »

The role of Collections.nCopies() is to return an immutable list which contains n copies of given object. This function helps if we want to create… Read More »

Given a String s, count all special palindromic substrings of size greater than 1. A Substring is called special palindromic substring if all the characters… Read More »

Given an array arr[] of size n such that elements of arr[] in range [0, 1, ..n-1]. Our task is to divide the array into… Read More »

Round 0: Online Coding Test (90 Min – 4 Coding Questions) 1) Run length encoding aaaaaabb -> a5b2 aaaaabccc -> a5bc3 2) Linked List pair… Read More »

Tower of Hanoi is a mathematical puzzle where we have three rods and n disks. The objective of the puzzle is to move the entire… Read More »

Given a linear equation, task is to find the value of variable used. The equation contains only ‘+’, ‘-‘ operation, the variable and its coefficient.… Read More »

Heap Sort is a comparison based sorting technique where we first build Max Heap and then swaps the root element with last element (size times)… Read More »

About Company Recruitment Process Questions Asked in CarWale Interview Experiences Where to Apply ? About Company : CarWale is India’s largest auto media vehicle. CarWale… Read More »

Given a binary tree, find the length of the longest path where each node in the path has the same value. This path may or… Read More »

Given n and q, i.e, the number of ranges and number of queries, find the kth smallest element for each query (assume k>1).Print the value… Read More »

Jio is having one of the most robust and fast pace interview process. Jio came to our campus for the position Of Graduate Engineer trainee… Read More »

This was a drive for SDE-1 and SDE-2 . HackerRank Round: This was an one hour test with two questions on hackerrank platform Given a… Read More »

Given a list of strings, find the largest string among all. Largest string is the string with largest number of unique characters. Example : Input… Read More »

Four glasses are placed on the corners of a square plate which can rotate about its center. Glasses are either upright (up) or upside-down (down)… Read More »

Given an integer n, find the power of a given prime number(r) in n! Examples : Input : n = 6 r = 3 Factorial… Read More »

Forms are used in webpages for the user to enter their required details that are further send it to the server for processing. A form… Read More »