Given k sorted arrays of different length, merge them into a single array such that the merged array is also sorted. Examples: Input : {{3,… Read More »

#
All Hard Articles

Given an array containing N positive integers, the task is to find the sum of XOR of all sub-arrays of the array. Examples: Input :… Read More »

Giving k sorted arrays, each of size N, the task is to merge them into a single sorted array. Examples: Input : arr[][] = {{5,… Read More »

Given a number N, the task is to find the log value of the factorial of N i.e. log(N!). Note: ln means log with base… Read More »

Given an array arr[], the task is to find the sum of the minimum elements of every possible sub-array of the array. Examples: Input: arr[]… Read More »

Given an array arr[], the task is to find the sum of the maximum elements of every possible sub-array of the array. Examples: Input: arr[]… Read More »

Given a string str, the task is to print all the distinct permutations of str. A permutation is an arrangement of all or part of… Read More »

Series is a type of list in pandas which can take integer values, string values, double values and more. But in Pandas Series we return… Read More »

Given a Binary Tree, print it’s left view. Left view of a Binary Tree is a set of nodes visible when tree is seen from… Read More »

In a network of infinitely many computers, 650 computers got infected with certain virus. The IT support team has access to five different types of… Read More »

CADENCE: OFFICE INTERVIEWS Round-1 Online Test: Section 1: 20 Aptitude MCQs for 20 Min Section 2: 10 Technical MCQ for 10 Min Section 3: Coding:… Read More »

Salesforce recently visited our campus BITS Pilani for the first time for Associate Member of Technical Staff role in Hyderabad. Round 1: Online Round (Hosted on… Read More »

Given an array arr[] of size N. The task is to find whether it is possible to make Binary Search Tree with the given array… Read More »

File locking, or locking in general, is just one of the various solutions proposed to deal with problems associated with resource sharing. File locking is… Read More »

In total, I gave 4 rounds of Interview for 1MG. Round 1: Telephonic Round Intermediate level interview round where I was asked about Naive Bayes,… Read More »

Linear Regression: It is the basic and commonly used type for predictive analysis. It is a statistical approach to modeling the relationship between a dependent… Read More »

The whole process was online. All the interviews were help via HackerRank CodePair Platform in our TPC office since they did not visit the campus.… Read More »

Given an integer area, the task is to find the length and breadth of a rectangle with the given area such that the difference between… Read More »

To many readers, this might sound the same thing, i.e. class_type *var = NULL; *var = &some_work; is same as class_type *var = &some_work; But… Read More »

Nineteen pirates (one of them is their leader) were caught by the king one day. But the king heard many stories of spontaneous wit of… Read More »