## Removing Duplicates from a Sorted Linked List

[wpdm_package id=’1405′] Algorithm: [sourcecode lang=”cpp”] void RemoveDuplicates(intnode* head) { intnode* current = head; if (current == NULL) return; // do nothing if the list is…

## Decimal to Binary Conversion using Stack

[wpdm_package id=’1413′] We had discussed here a few applications of stack. And here is another one. Converting positive decimals to binary using a stack. You…

[wpdm_package id=’1164′] Radix sort by sorting the input numbers on each digit, for each of the digits in the numbers. There are 2 types of…

## Merge Sort

[wpdm_package id=’1181′] A merge sort is based on the classic divide and conquer paradigm. Steps: 1. Divide: Partition the n-element sequence to be sorted into two…

## Quick Sort

[wpdm_package id=’1367′] Quick Sort is one of the fastest sorting algorithms used. Steps: 1. Choose a pivot element. Here, we are choosing the middle element.…

## SAP Labs Coding Interview Question 2

[wpdm_package id=’1400′] Question: You are given a decimal number x as input. If g(x) is defined as number of 1s in the binary representation of…

## NFC Real Time Applications

Did you ever think of a technology where you don’t need your ID card or Access card to enter into you school, college or office…

## NFC (Near Field Communications)

Going by the definitions, NFC is a short range, high frequency wireless communication technology, that enables the exchange of data between devices, typically requiring a…

## Verizon Placement Procedure

We had Verizon placement test at our college. It comprised of 4 rounds. CS, ECE and EEE branches were eligible to attend with a cutoff…

## Infosys Interview Process

During the month of Septeber We attended Infosys On-Campus placements. Infosys had 2 rounds. 1st was the Online test and 2nd was the technical Interview.…