## Reversible numbers

A number is said to be a reversible if sum of the number and its reverse had only odd digits. The problem is to find… Read More »

## Form coils in a matrix

Given a positive integer n that represents dimensions of a 4n x 4n matrix with values from 1 to n filled from left to right… Read More »

## Three way partitioning of an array around a given range

Given an array and a range [lowVal, highVal], partition the array around the range such that array is divided in three parts. 1) All elements… Read More »

## Mathematics | Matrix Introduction

A matrix represents a collection of numbers arranged in an order of rows and columns. It is necessary to enclose the elements of a matrix… Read More »

## Convert a Binary Tree to Threaded binary tree | Set 2 (Efficient)

Idea of Threaded Binary Tree is to make inorder traversal faster and do it without stack and without recursion. In a simple threaded binary tree,… Read More »

## Accolite Interview Experience | Set 15 (On-Campus)

1st round consisted of 20mcq questions to be answered in 30 minutes. Around 120 students appeared for the test. Top 5 were called directly for… Read More »

## Access Modifiers in Java

As the name suggests access modifiers in Java helps to restrict the scope of a class, constructor , variable , method or data member. There… Read More »

## NumPy in Python | Set 2 (Advanced)

NumPy in Python | Set 1 (Introduction) This article discusses some more and a bit advanced methods available in NumPy. Stacking: Several arrays can be… Read More »

## ScapeGoat Tree | Set 1 (Introduction and Insertion)

A ScapeGoat tree is a self-balancing Binary Search Tree like AVL Tree, Red-Black Tree, Splay Tree, ..etc. Search time is O(Log n) in worst case.… Read More »

## Length of longest palindrome list in a linked list using O(1) extra space

Given a linked list, find length of the longest palindrome list that exist in that linked list. Examples: Input : List = 2->3->7->3->2->12->24 Output :… Read More »

## Maximum difference between frequency of two elements such that element having greater frequency is also greater

Given an array of n positive integers with many repeating elements. The task is to find maximum difference between the frequency of any two different… Read More »

## Find a local minima in an array

Given an array arr[0 .. n-1] of distinct integers, the task is to find a local minima in it. We say that an element arr[x]… Read More »

## Printing brackets in Matrix Chain Multiplication Problem

Prerequisite : Dynamic Programming | Set 8 (Matrix Chain Multiplication) Given a sequence of matrices, find the most efficient way to multiply these matrices together.… Read More »

## Synopsys Interview Experience | Set 6 (On-Campus for R&D Engineer)

Recently Synopsys ( Bangalore Center ) visited our campus for recruitment for Research and Development profile and Software Integration profile. Here is my interview experience.… Read More »

## Minimum time required to produce m items

Consider n machines which produce same type of items but at different rate i.e., machine 1 takes a1 sec to produce an item, machine 2… Read More »