## Program to calculate distance between two points in 3 D

Given two coordinates (x1, y1, z1) and (x2, y2, z2) in 3 dimension. The task is to find the distance between them. Examples : Input:… Read More »

Given two coordinates (x1, y1, z1) and (x2, y2, z2) in 3 dimension. The task is to find the distance between them. Examples : Input:… Read More »

The imagefilledellipse() function is an inbuilt function in PHP which is used to draw the filled ellipse. It draws the ellipse with specified center coordinate.… Read More »

Write a function findFirstLoopNode() that checks whether a given Linked List contains loop. If loop is present then it returns point to first node of… Read More »

Round 1: It was a written test which consisted of three sections-aptitude, technical(multiple choice questions) which included mainly data structures, sorting, searching, time complexities, programming-it… Read More »

Given two arrays (which may or may not be sorted). There arrays are such that they might have some common elements in them. We need… Read More »

Given an unsorted array and a number x, find index of first occurrence of x when we sort the array. If x is not present,… Read More »

Round 1 (Aptitude and Coding Round): The first round comprised of 60 questions and 2 coding questions(Test duration: 2hr). The 60 questions were divided in… Read More »

Prerequisites : std::sort in C++, vector in C++, initialize a vector in C++. Output : Sorted 0 1 2 3 4 5 6 7 8… Read More »

Given 2 eggs and k floors, find the minimum number of trials needed in worst case. This problem is a specific case of n eggs… Read More »

Our college was recently visited by Goldman Sachs. The internship process started with a technical round hosted on hackerrank consisting of 8 MCQ’s of 10… Read More »

Oracle Server Technology opened for Btech circuital branches (CSE, ECE, ICE, EEE) Round 1: It was an online MCQ test where there were 4 different… Read More »

Given an integer array, print all repeating elements (Elements that appear more than once) in array. The output should contain elements according to their first… Read More »

In standard Edit Distance where we are allowed 3 operations, insert, delete and replace. Consider a variation of edit distance where we are allowed only… Read More »

First Round – Online Coding – This was an online round comprises of 4 coding questions, hosted on HackerRank. The maximum time allowed was 75… Read More »

A Vectors in C++ can resize itself when more elements are added. It also allows deletion of elements. A basic idea is to double the… Read More »