## Python Program for Basic Euclidean algorithms

filter_none edit close play_arrow link brightness_4 code # Python program to demonstrate Basic Euclidean Algorithm       # Function to return gcd of a and… Read More »

## Java Program for Basic Euclidean algorithms

GCD of two numbers is the largest number that divides both of them. A simple way to find GCD is to factorize both numbers and… Read More »

## C Program for Basic Euclidean algorithms

GCD of two numbers is the largest number that divides both of them. A simple way to find GCD is to factorize both numbers and… Read More »

## Euclidean algorithms (Basic and Extended)

GCD of two numbers is the largest number that divides both of them. A simple way to find GCD is to factorize both numbers and… Read More »

## How to efficiently sort a big list dates in 20’s

Given a big list of dates in 20’s, how to efficiently sort the list. Example: Input: Date arr[] = {{20, 1, 2014}, {25, 3, 2010},… Read More »

## Data Link Layer in OSI Model

Below are some common GATE CS topics of data link layer. Carrier Sense Multiple Access (CSMA) Carrier Sense Multiple Access or CSMA method was developed… Read More »

## Snapdeal Interview Experience | Set 14 (On-Campus for Software Engineer 1)

Hi, Recently i was interviewed for Snapdeal Software engineer 1 Position in my college campus. Round 1: Online 1) Check whether two given lines intersect… Read More »

## Data Structure for a single resource reservations

Design a data structure to do reservations of future jobs on a single machine under following constraints. 1) Every job requires exactly k time units… Read More »

## Calculate 7n/8 without using division and multiplication operators

Given an integer, write a function that calculates ⌈7n/8⌉ (ceiling of 7n/8) without using division and multiplication operators. We strongly recommend to minimize your browser… Read More »

## Bharti SoftBank (Hike) Interview Experience | Set 7 (For Automation Testing/Manual Testing)

Profile: Automation Testing/Manual Testing Process: Written Test (90 Minutes) + 2 Technical Interviews. Round 1 (Written Test) It consists of 50 questions (including 2 programming… Read More »

## Flipkart Interview Experience | Set 27 (For SDE)

Telephonic Round: It was an exploratory discussion with the hiring manager. More about the current work and behavioral questions. Machine Coding Round: Design and build… Read More »

## Write your own strlen() for a long string padded with ‘\0’s

Given a big character array that represents a string such that all trailing non-string characters are filled with ‘\0’ at the end, i.e, all leading… Read More »

## Select a Random Node from a Singly Linked List

Given a singly linked list, select a random node from linked list (the probability of picking a node should be 1/N if there are N… Read More »

## Find the largest pair sum in an unsorted array

Given an unsorted of distinct integers, find the largest pair sum in it. For example, the largest pair sum in {12, 34, 10, 6, 40}… Read More »

## Insertion Sort for Singly Linked List

We have discussed Insertion Sort for arrays. In this article same for linked list is discussed. Below is simple insertion sort algorithm for linked list.… Read More »