List is equivalent to arrays in other languages, with the extra benefit of being dynamic in size. In Python, list is a type of container… Read More »

Given an array A[] of N non-negative integers. Find an Integer greater than 1, such that maximum array elements are divisible by it. In case… Read More »

Given two strings A and B, both strings contain characters a and b and are of equal lengths. There is one _ (empty space) in… Read More »

So, recently I had my Zoho interview. I was able to clear my first and second round. Third round results are still waiting. 1st round… Read More »

Machine Learning is a sub-field of Artificial Intelligence that gives systems the ability to learn themselves without being explicitly programmed to do so. Machine Learning… Read More »

Telecom networks is mostly used today for wide area communication. Stringing a wire between every pair of telephones that might want to communicate was not… Read More »

Locality of reference refers to a phenomenon in which a computer program tends to access same set of memory locations for a particular time period.… Read More »

SMB Protocol SMB protocol was designed by the Microsoft for direct file sharing on the local area network. The set of message packets which defines… Read More »

Have you ever came across the situation where you have to call C function using python? This article is going to help you on very… Read More »

Given a positive integer N where . The task is to find the smallest prime palindrome greater than or equal to N. Examples: Input: 8… Read More »

OpenCV is a vast library that helps in providing various functions for image and video operations. With OpenCV, we can perform operations on the input… Read More »

It was a recruitment drive for Morgan Stanley for Experienced Java developers for their Mumbai office. Round 1: Pen/Paper Round 1 consisted of 10 questions,… Read More »

Given two integers and . The task is to find the Nth term which is divisible by either of or . Examples : Input :… Read More »

Given two positive integers L and R (represented as strings) where . The task is to find the total number of super-palindromes in the inclusive… Read More »

In the last post, we discussed Insertion and Union of Fibonacci Heaps. In this post, we will discuss Extract_min(), Decrease_key() and Deletion() operations on Fibonacci… Read More »

Given a string consisting of only 0’s and 1’s. Now you are given N non-intersecting ranges L, R ( L <= R), more specifically [L1,… Read More »

Given a sorted doubly linked list of distinct nodes(no two nodes have the same data) and a value x. The task is to count the… Read More »

Top view of a binary tree is the set of nodes visible when the tree is viewed from the top. Given a binary tree, print… Read More »

Given an array of integers, the task is to find the sequence in which these integers should be added to an AVL tree such that… Read More »

Given an array of n-positive elements. In each operation, you can select some elements and decrease them by 1 and increase remaining elements by m.… Read More »