The following video demonstrates on using Cookies in Java Servlets using Netbeans IDE

# Code jam “Tic-Tac-Toe-Tomek” solution in java

This is the solution to “Tic-Tac-Toe-Tomek” problem of the Code Jam 2013 competition. Problem details: Tic-Tac-Toe-Tomek is a game played on a 4 x 4 square board. The board starts empty, except that a single ‘T’ symbol may appear in …

# Code jam “Minimum Scalar product” solution in java

This question was asked in Round 1 of Code Jam 2008 contest. The problem You are given two vectors v1=(x1,x2,…,xn) and v2=(y1,y2,…,yn). The scalar product of these vectors is a single number, calculated as x1y1+x2y2+…+xnyn. Suppose you are allowed to …

# Code jam Store Credit solution in java

I found this question at codejam. You can find the problem here. So lets get onto the problem. Problem You receive a credit C at a local store and would like to buy two items. You first walk through the …

# Program to find a square of a number without using multiplication or exponential

I found this question while surfing through the internet. The task is to write a function that accepts a number n and returns the square of n. However, we are not allowed to use the multiplication or exponential operators in …

# Facebook Hacker Cup : “Double Squares” Solution in Java

This program is a solution to Studious Student problem from Facebook Hacker Cup. The problem can be found here: link. The problem: A double-square number is an integer X which can be expressed as the sum of two perfect squares. …

# Facebook Hacker Cup : “Studious Student” Solution in Java

This program is a solution to Studious Student problem from Facebook Hacker Cup. The problem can be found here: link. The problem: Studious Student You’ve been given a list of words to study and memorize. Being a diligent student of …

# Hangman (game) script in PHP

To start off, here is a little information about the Hangman game. From Wikipedia: The word to guess is represented by a row of dashes, giving the number of letters and category of the word. If the guessing player suggests …