## How BitTorrent Works?

Most of us heard about torrents and probably also have tried them to download movies, or books, or music, TV series, games, etc. But, What… Read More »

## Simulated Annealing

Problem : Given a cost function f: R^n –> R, find an n-tuple that minimizes the value of f. Note that minimizing the value of… Read More »

## Puzzle | Falling bear

A bear falling from a height of 10m on the ground in the square root of 2 seconds. what is the color of bear? We… Read More »

## Smallest number that never becomes negative when processed against array elements

Given an array of size n your goal is to find a number such that when the number is processed against each array element starting… Read More »

## Mentor Graphics Interview Experience | Set 3 (Off-Campus for Software Developer)

In total 6 rounds were there. Round 1: Written Test (90 Min) You have to write code on paper, no need to run. They will… Read More »

## Lexicographic rank of a string using STL

You are given a string, find its rank among all its permutations sorted lexicographically. Examples: Input : str[] = “acb” Output : Rank = 2… Read More »

## Map.Entry interface in Java with example

Map.Entry interface in Java provides certain methods to access the entry in the Map. By gaining access to the entry of the Map we can… Read More »

## Calculate number of nodes in all subtrees | Using DFS

Given a tree in the form of adjacency list we have to calculate the number of nodes in the subtree of each node while calculating… Read More »

## Project Idea | Sign Language Translator for Speech-Impaired

Project Title : Sign Language Translator for Speech-impaired Introduction: The main objective is to translate sign language to text/speech. The framework provides a helping-hand for… Read More »

## Symantec Interview Experience | Set 5

Techincal Round 1 : Q1) Given a linked list in ascending order. Reverse the linked list and also skip the Fibonacci numbers while reversing. Dont… Read More »

## Oracle Interview Experience | Set 52 (On-Campus for Application Engineer)

Profile: Application Engineer Recruitment Procedure (On-Campus) Test 1: This was an aptitude test of around 2 hrs. It consisted of four parts and had subsections.… Read More »

## Amazon Interview Experience | Set 376 (On Campus for Internship)

Amazon visited our campus(Jadavpur University) to recruit interns and FTEs. I’m sharing my internship interview experience. There were 3 rounds in all – 1 Online… Read More »

## Java Applet Basics

Let’s understand first how many Package does GUI support: AWT(Abstract Window Toolkit) Swing Throwback of making GUI application: Java was launched on 23-Jan-1996(JDK 1.0) and… Read More »

## Output of C programs | Set 39 (Pre Increment and Post Increment)

Prerequisite : Pre-increment and Post increment Question 1 filter_none edit close play_arrow link brightness_4 code #include <stdio.h>    int main() {     char* p = “mayhem”;… Read More »

## Output of Java program | Set 27

Ques1. What is the output of the following? filter_none edit close play_arrow link brightness_4 code import java.util.*;    public class Test { public static void… Read More »