# All Hard Articles Basic Easy Medium Hard Expert All Categories Arrays Misc Program Output Strings Linked List Bit Magic Articles Tree MCQ GFacts Interview Experiences GBlog Stack Queue Algorithms Analysis Dynamic Programming Greedy Backtracking Pattern Searching Divide and Conquer Searching Sorting Mathematical Geometric Heap Hash Randomized Combinatorial Matrix Binary Search Tree Advanced Data Structure Project Technical Scripter Python Competitive Programming Internship Experienced TechTips Geek on the Top Branch and Bound Game Theory Computer Subject Computer Networks Operating Systems DBMS GATE CS Programming Language SQL Java Compiler Design Recursion Puzzles C C++ Data Structures Graph School Programming Design Pattern Articles Placements QA – Placements Reasoning – Placements English – Placements CS – Placements DI – Placements Quizzes Aptitude Web technologies Questions Engineering Mathematics Questions Python-Quizzes QA – Placement Quizzes C Quiz C++ Quiz Java Quiz GATE Operating Systems Questions DBMS Quiz Computer Networks Quiz Data Structures Algorithms Quiz Compiler Design Computer Organization and Architecture Theory of Computation Digital Electronics & Logic Design Theory of Computation & Automata Computer Organization & Architecture Engineering Mathematics Difference Between Advanced Computer Subject C Programs C++ Programs Java Programs Python Programs Web Technologies JavaScript Linux-Unix GeeksforGeeks Initiatives ISRO UGC-NET Software Engineering C# Perl Ruby PHP JS++ PHP Programs Machine Learning C# Programs Scala Hadoop Go Language HTML

## Merge K sorted arrays of different sizes | ( Divide and Conquer Approach ) 4

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 »

## Sum of XOR of all subarrays 4

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 »

## Merge K sorted arrays | Set 3 ( Using Divide and Conquer Approach ) 4.6

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 »

## Find the value of ln(N!) using Recursion 4

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 »

## Sum of minimum elements of all possible sub-arrays of an array 4

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 »

## Sum of maximum elements of all possible sub-arrays of an array 4

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 »

## Java Program to print distinct permutations of a string 4

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 »

## Creating a dataframe from Pandas series 4

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 »

## Iterative Method To Print Left View of a Binary Tree 4

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 »

## Puzzle | Eliminating Virus from a Computer Network 4

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 interview Experience | Software Development Engineer 4

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 Interview Experience | On-Campus for FTE 4

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 »

## Make Binary Search Tree 4

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 »

## Perl | File Locking 4

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 »

## Interview with 1MG.com DATA SCIENCE profile 4

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 »

## ML | Multiple Linear Regression using Python 4

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 »

## Arcesium Interview Experience ( FTE On-Campus) 4.3

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 »

## Rectangle with minimum possible difference between the length and the width 4

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 »

## Can C++ reference member be declared without being initialized with declaration? 4

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 »

## Puzzle | Nineteen Pirates and the King 4

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 »