## Minimum product of k integers in an array of positive IntegersOctober 15, 2017

Given an array of n positive integers. We are required to write a program to print the minimum product of k integers of the given… Read More »

## PHP | Loops

Like any other language, loop in PHP is used to execute a statement or a block of statements, multiple times until and unless a specific… Read More »

## Confusion Matrix in Machine Learning

In the field of machine learning and specifically the problem of statistical classification, a confusion matrix, also known as an error matrix. A confusion matrix… Read More »

## Doolittle Algorithm : LU Decomposition

In numerical analysis and linear algebra, LU decomposition (where ‘LU’ stands for ‘lower upper’, and also called LU factorization) factors a matrix as the product… Read More »

## Divide number into two parts divisible by given numbers

Given a large number in string format and we are also given two numbers f and s. We need to divide the large number into… Read More »

## SAP Labs Interview Experience | Set 30 (On Campus for Scholar@SAP Program)

This is my interview experience for Scholar@SAP program. You can read about this program here. There hire both Engineering and non engineering students. This interview… Read More »

## Cycles of length n in an undirected and connected graph

Given an undirected and connected graph and a number n, count total number of cycles of length n in the graph. A cycle of length… Read More »

## Mathematics | Representation of Boolean Functions

A Boolean function is described by an algebraic expression consisting of binary variables, the constants 0 and 1, and the logic operation symbols For a… Read More »

## Samsung Interview Experience | Set 31 (On-Campus)

Samsung R&D Bangalore visited our campus. (Eligible branches – CSE & ECE). There were 4 rounds. Round 1: 3hrs-Coding Round. Round 2: 1st Technical Round.… Read More »

## Maximize the sum of arr[i]*i

Given an array of N integers. You are allowed to rearrange the element of the array. The task is to find the maximum value of… Read More »

## Combinations in a String of Digits

Given an input string of numbers, find all combinations of numbers that can be formed using digits in the same order. Examples: Input : 123… Read More »

## Check whether four points make a parallelogramOctober 14, 2017

Given four points in a 2-dimensional space we need to find out whether they make a parallelogram or not. A parallelogram has four sides. Two… Read More »

## Edifecs Interview Experience | Set 2

Round 1: The Written Test. Round 1 consisted of a written test of 40 minutes which included 15  Quantitative Aptitude and Logical questions, 15 technical… Read More »

## Number of Binary Trees for given Preorder Sequence length

Count the number of Binary Tree possible for a given Preorder Sequence length n. Input : n = 1 Output : 1 Input : n… Read More »

## Least Common Denominator (LCD)

The lowest Common Denominator or Least Common Denominator is the Least Common Multiple of the denominators of a set of fractions. Common denominator : when… Read More »