All Medium Articles
Given three coordinates of a triangle (x1, y1), (x2, y2), (x3, y3). The task is to find out if the triangle can be transformed to… Read More
After the Online Assessment test on Hackerearth coding Platform 16 students were selected for the next round out of 300. Online Assessment test consist of… Read More
This month capegemini came to our campus for campus recruitment process, Three rounds were conducted by them for all the students who fulfill the eligibility… Read More
Function Point (FP) measure was inadequate for many engineering and embedded systems. To overcome this, A number of extensions to the basic function point measure… Read More
In JavaScript, both map and object stores the key-value pairs but differ on some features and use cases. JavaScript Map Map can have keys of… Read More
Given an array arr[] of N integers where N % 4 = 0, the task is to divide the integers into groups of four such… Read More
Given three integers A, B and C. The task is to count the number of triples (a, b, c) such that a * c >… Read More
Given a matrix of integers mat[][] of size N * M. The task is to find the maximum perimeter of a square in the matrix.… Read More
Given an array arr[] of N integers, the task is to find the count of subarrays with positive product.Examples:   Input: arr[] = {-1, 2, -2} Output:… Read More
Given a string str that may contain duplicate characters, the task is to print all the distinct permutations of the given string such that no… Read More
Given a string str consisting of lowercase English alphabets. The task is to add all the character values i.e. ‘a’ = 1, ‘b’ = 2,… Read More
Given an unsorted array of size, N. Find subarrays that add to a sum in the given range L-R. Examples: Input: arr[] = {2, 3,… Read More
So I have around 1.6 years of experience in Java. I was contacted by the GS HR when she saw my profile on naukri.com. Round… Read More
Flipkart recently visited our Campus for hiring Interns for Summer 2020. The following was the entire process. Round 1: Online Coding (90 min – 3 Questions)  … Read More
Windows PowerShell is a command-line and scripting language designed for system administration. It helps IT professionals, to control and automate the administration of the Windows… Read More
Different companies have a different approach to their interviewing process. Some would be concentrating on work experience and knowledge; others might focus on personality, while… Read More
You might have written your first code in programming languages such as C/C++ or Java and might have faced difficulty learning these languages. Well, these… Read More
Given a string. The task is to find out the number of substrings consisting of the same characters. Examples:  Input: abba Output: 5 The desired substrings are… Read More
Given two arrays arr[] and cost[] where cost[i] is the cost associated with arr[i], the task is to find the minimum cost of choosing three… Read More