All Medium Articles
Suppose you have three pen drives P1, P2 and P3 each having 1GB capacity. You also have 3 GB of data. You have to divide… Read More
jQuery blur() is an inbuilt method that is used to remove focus from the selected element. This method starts the blur event or it can… Read More
Decision making in programming is similar to decision making in real life. In decision making, a piece of code is executed when the given condition… Read More
Segregation of negative and positive numbers in an array without using extra space, and maintaining insertion order and in O(n^2) time complexity. Examples:  Input :9… Read More
Round 1: Online Coding round A document contains dates in dd-MM-YYYY formats from the beginning of time i.e 00-00-0000 along with other texts. You have… Read More
Given an array of positive and negative integers and an integer K. The task is to find the subarray which has its sum closest to… Read More
Cohesity came to our campus for 2 month internship.It has 1 online round and 2 F2F zoom round each of half hour. Online round was… Read More
Round 1: Online Test on Hackerank Resumes of around 350 applicants were shortlisted and 151 students were allowed for round 1. There were three sections.… Read More
1) Shortlisting based on aggregate. 2) Aptitude test hosted on hackerearth. 20 mcqs ( C and quantitative questions ) had negative marking (+1 / -1).… Read More
Given an array arr[0..n-1] of n integers, find the maximum length subarray such that its first element is greater than or equal to the last… Read More
Given an array, find the number of subarrays whose sum is odd. Examples:  Input : arr[] = {5, 4, 4, 5, 1, 3} Output :… Read More
First Round MCQs on paper ( 30 minutes, 30 Questions ) OS, DBMS, Networking, C, C++ Online Test on eduthrill ( 30 minutes, 30 Questions… Read More
Given an array of integers and an integer x. Find the length of maximum size subarray having an average of integers greater than or equal… Read More
Round 1: This round consisted of an online test on Hackerrank. There were 10 MCQs and 2 Programming questions. The MCQs had questions from OS,… Read More
Microsoft visited Thapar Institute of Engineering and Technology for hiring. The first round was on cocubes. There were different sets and the questions that I… Read More
3Given an array of distinct elements, print the closest greater element for every element. The closest greater element for an element x is the smallest… Read More
Microsoft visited BITS Pilani, Hyderabad Campus for placements in August, 2018. The detailed process was as follows: Round 1: Online Coding, 75 Minutes, 3 coding… Read More
The C fread() is a standard library function used to read the given amount of data from a file stream. Defined inside <stdio.h>, the fread()… Read More
Given a graph, the task is to print the DFS traversal of a graph which includes every step including the backtracking. 1st step:- 0 ->… Read More
Given an array of integers and a value k, find the length of largest subarray having a sum greater than k. Examples:  Input : arr[]… Read More