## Puzzle | Luxury Cars

A father wants to divide his 17 luxury cars among his three sons. According to the father, the oldest son should get half of the… Read More »

## Implementation of Graph in JavaScript

In this article we would be implementing the Graph data structure in JavaScript. Graph is a non-linear data structure. A graph G contains a set… Read More »

## Check Whether a number is Duck Number or not

A Duck number is a number which has zeroes present in it, but there should be no zero present in the beginning of the number.… Read More »

## GE Digital Interview Experience | Set 7 (On-Campus for Internship)

Recently GE digital company visited our campus for campus recruitments for 2 months internship. They conducted an online coding and aptitude test followed by GD… Read More »

## Target Corporation Interview Experience | Set 4 (On-Campus)

Round-1: Online Test 10 objective questions and 1 coding question. objectives were from Data structures, Java, operating system, c. Que. Given source(x1,y1) and destination (x2,y2),… Read More »

## Puzzle | Pirates and Gems

Seven pirates attacked the British ship and looted some rare gems from them. They decided to rest for some time and then divide the gems… Read More »

## Walmart Labs Interview Experience | Set 14 (On-Campus)

Round-1 (Online Coding Test) The first round comprised of 3 coding questions and it was conducted on hackerearth platform (Test Duration: 1 hour 30 minutes):… Read More »

## Check if two given circles touch or intersect each other

There are two circle A and B with their centers C1(x1, y1) and C2(x2, y2) and radius R1 and R2. Task is to check both… Read More »

## Abstract Data Types

Abstract Data type (ADT) is a type (or class) for objects whose behaviour is defined by a set of value and a set of operations.… Read More »

## Find smallest number n such that n XOR n+1 equals to given k.

You are given a positive number k, we need to find a positive integer n, such that XOR of n and n+1 is equal to… Read More »

## ServiceNow Interview Experience | Set 4 (On-Campus)

1st Round: 30 MCQ questions to be done under 30 minutes, based on trees, graphs, Java and C program debugging and some general aptitude questions(one… Read More »

## Check if two unsorted arrays (with duplicates allowed) have same elements

Given two unsorted arrays, check whether both arrays have same set of elements or not. Examples: Input : A = {2, 5, 6, 8, 10,… Read More »

## numpy.linspace() in Python

About : numpy.linspace(start, stop, num = 50, endpoint = True, retstep = False, dtype = None) : Returns number spaces evenly w.r.t interval. Similar to… Read More »

## numpy.logspace() in Python

About : numpy.logspace(start, stop, num = 50, endpoint = True, base = 10.0, dtype = None) : Returns number spaces evenly w.r.t interval on a… Read More »

## Output of C++ programs | Set 46 (If-else statements)

Prerequisite : Decision Making in C++ Question 1. What is the output of following program? filter_none edit close play_arrow link brightness_4 code #include <iostream> #include… Read More »