All Medium Articles
Given an array arr[], the task is to count unordered pairs of positive integers (p, q) such that p occurs in the array at least… Read More
These questions for practice purpose for GATE CS Exam. Ques-1: Which one of the following language is Regular? (A) {wxwR | w,x ∈ (a+b)+} (B)… Read More
numpy.random.random_integers() is one of the function for doing random sampling in numpy. It returns an array of specified shape and fills it with random integers… Read More
********** Goldman Sachs Technical Interview (For Experienced Hire) ********** (Dec 2018 – Jan 2019) —————————————————————————— ——————————————————— **** HackerRank Test – 90 mins – 2 questions… Read More
  Position they were looking for: The advertisement was for a Software Engineer with experience in Monolith to  Microservices decomposition experience and knowledge of AWS… Read More
While developing an application or exploring some features of a language, one might need to debug the code anytime. Therefore, having an idea of debugging… Read More
Given a Binary Tree having data at nodes as either 0’s or 1’s. The task is to find out whether there exists a subtree having… Read More
Problem – Write a 8086 assembly level program to generate the Fibonacci Sequence. The length of the sequence is stored in the data segment with… Read More
Given a sorted array A of n integers. The task is to find the sum of the minimum of all possible subsequences of A.Note: Considering… Read More
Given an array ‘arr’ containing the weight of ‘N’ distinct items, and two knapsacks that can withstand ‘W1’ and ‘W2’ weights, the task is to… Read More
Multiple Inheritance is the property of the Object Oriented Programming languages in which child class or sub class can inherit the properties of the multiple… Read More
To convert an array into the object, stdClass() is used. The stdClass() is an empty class, which is used to cast other types to object.… Read More
It was last week of September when Wipro came to our campus for recruitment drive. Before that at summer we also got training from Wipro… Read More
Given a NxN matrix, the task is to find the sum of bit-wise OR of all of its rectangular sub-matrices.Examples:   Input : arr[][] = {{1,… Read More
Given two positive integers X and Y, the task is to count the total numbers in range 1 to N which are divisible by X… Read More
Scala(pronounced as “skah-lah”) is general-purpose programming language designed by Martin Odersky. The design of Scala started in 2001 at EPFL, Lausanne, Switzerland. Scala was released… Read More
Python is a multi-purpose language and widely used for scripting. We can write Python scripts to automate day-to-day things. Let’s say we want to download… Read More
Given a binary tree, the task is to count the number of Binary Search Trees present in it. Examples:  Input:  1 / \ 2 3… Read More
Given an array arr[] of n integers. The task is to find the maximum length of the sub-array which has the maximum average value (average… Read More
Given an integer x and an array arr[] each element of which is a power of 2. The task is to find the minimum number… Read More