## Minimize the number of steps required to reach the end of the array

Given an integer array arr[] of length N consisting of positive integers, the task is to minimize the number of steps required to reach the… Read More »

## Number of ways to reach the end of matrix with non-zero AND value

Given an N * N matrix arr[][] consisting of non-negative integers, the task is to find the number of ways to reach arr[N – 1][N… Read More »

## Find minimum steps required to reach the end of a matrix | Set 2

Given a 2d-matrix consisting of positive integers, the task is to find the minimum number of steps required to reach the end of the matrix.… Read More »

## Check whether a number can be represented as sum of K distinct positive integers

Given two integers N and K, the task is to check whether N can be represented as sum of K distinct positive integers. Examples: Input:… Read More »

## JavaScript | Reverse a string in place.

In order to reverse the string in its place, We’re going to use a number of methods and the most preferred ones. We’re going to… Read More »

## Find minimum steps required to reach the end of a matrix | Set – 1

Given a 2d-matrix consisting of positive integers, the task is to find the minimum number of steps required to reach the end(leftmost-bottom cell) of the… Read More »

## Find the node whose absolute difference with X gives maximum value

Given a tree, and the weights of all the nodes and an integer x, the task is to find a node i such that |weight[i]… Read More »

## Find the largest interval that contains exactly one of the given N integers.

Given an array arr[] of N distinct integers, the task is to find the maximum elements in an interval [L, R] such that the interval… Read More »

## Kolmogorov-Smirnov Test (KS Test)

Kolmogorov–Smirnov test a very efficient way to determine if two samples are significantly different from each other. It is usually used to check the uniformity… Read More »

## Interview Experience with Sandisk for SD Card team (C Programming)

Round 1: Static vs Global. What is Volatile? Where is it used? What is Structure Padding and How to avoid it? Design of reader-writer paradigm.… Read More »

## Must Do Questions for Companies like TCS, CTS, HCL, IBM …

As the placement season is back so are we to help you ace the interview. We have selected some most commonly asked and must do… Read More »

## Check whether product of integers from a to b is positive , negative or zero

Given two integers a and b, the task is to check whether the product of integers from the rage v[a, b] i.e. a * (a… Read More »

## Optimal Strategy for a Game | Set 2

Problem statement: Consider a row of n coins of values v1 . . . vn, where n is even. We play a game against an… Read More »

## Affinity Propagation in ML | To find the number of clusters

Affinity Propagation creates clusters by sending messages between data points until convergence. Unlike clustering algorithms such as k-means or k-medoids, affinity propagation does not require… Read More »

## Ensemble Classifier | Data Mining

Ensemble learning helps improve machine learning results by combining several models. This approach allows the production of better predictive performance compared to a single model.… Read More »