All Medium Articles
Aim : As internet activities have incremented a lot now a days. The possibility of illegal access of private data is also increased. The aim… Read More
What is the number of vertices in an undirected connected graph with 27 edges, 6 vertices of degree 2, 3 vertices of degree 4 and… Read More
Which of the above arguments are valid? (A) P and Q only (B) P and R only (C) P and S only (D) P, Q,… Read More
Let x be an integer which can take a value of 0 or 1. The statement if(x = =0) x = 1; else x =… Read More
Let P be a singly linked list. Let Q be the pointer to an intermediate node x in the list. What is the worst-case time… Read More
I attended interview at Brocade for the post of Software Engineer (0-2.5 years experience). Some 200+ people had walked-in and it was a pretty large… Read More
What is the maximum number of edges in an acyclic undirected graph with n vertices? (A) n-1 (B) n (C) n + 1 (D) 2n-1 Answer:… Read More
In a class of 200 students, 125 students have taken Programming Language course, 85 students have taken Data Structures course, 65 students have taken Computer… Read More
Given a set of points, connect the dots without crossing.   Example:  Input: points[] = {(0, 3), (1, 1), (2, 2), (4, 4), (0, 0), (1,… Read More
Given a positive integer n, find number of ways to divide n in four parts or represent n as sum of four positive integers. Here… Read More
Given an array “arr[0..n-1]” of integers, calculate sum of “arr[i] & arr[j]” for all the pairs in the given where i < j. Here &… Read More
Given a number n, print all primes smaller than n. For example, if the given number is 10, output 2, 3, 5, 7. Recommended PracticeProduct… Read More
Given a range [low, high], print all primes in this range? For example, if the given range is [10, 20], then output is 11, 13,… Read More
The project is based on web-based UML designing. The main reason for selecting this topic was that now a day there is boom of internet… Read More
ABSTRACT: A prerequisite for object-based image analysis is the generation of adequate segments. However, the parameters for the image segmentation algorithms are often manually defined.… Read More
Do you know that less than 10% of candidates passed their on-site interviews as reported in Silicon Valley? Don’t forget that those who failed have… Read More
Round 1: a) Twitter design considering following functionalities: – Post tweet – Get the top tweets from the followers b) Parking Lot design Round 2:… Read More
Round 1 (Coding round): 1) Range [L, R] is given. Need to find what is the maximum repeating digit in prime numbers between L and… Read More
Given a number n, check if it is prime or not. We have introduced and discussed the School method for primality testing in Set 1.Primality… Read More
Given a 2D grid of characters and a word, find all occurrences of the given word in the grid. A word can be matched in… Read More