Mycoding - mycoding.net
General Information:
Latest News:
Netbeans Tutorial – Cookies 25 May 2013 | 08:44 pm
The following video demonstrates on using Cookies in Java Servlets using Netbeans IDE
Code jam “Tic-Tac-Toe-Tomek” solution in java 19 Apr 2013 | 11:07 pm
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...
Code jam “Minimum Scalar product” solution in java 18 Mar 2013 | 09:40 pm
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, calculat...
Code jam Store Credit solution in java 10 Mar 2013 | 07:57 pm
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 t...
Program to find a square of a number without using multiplication or exponential 9 Mar 2013 | 08:23 pm
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 ...
Facebook Hacker Cup : “Double Squares” Solution in Java 8 Mar 2013 | 08:58 am
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 ...
Facebook Hacker Cup : Studious Student Problem Solution in Java 5 Mar 2013 | 11:47 pm
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 memor...
Hangman (game) script in PHP 24 Feb 2013 | 06:21 pm
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 gu...
a program to demonstrate the use of goto statement in C# 3 Feb 2013 | 02:02 pm
using System; class Program { static void Main(string[] args) { int i,tot=0; for (i = 0; i
Find s=1 – 2 + 3 – 4 + 5 – 6 + 7 – 8 + 9 – 10. in C# 3 Feb 2013 | 01:54 pm
using System; class Program { static void Main(string[] args) { int s=0; for (int i = 1; i