473,545 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Programming Contest

Want to test your PHP programming skills? I have just launched a PHP
programming contest on my blog.

The problem

Many years ago there used to be a UK television quiz show (I am sure
there has probably been many versions in other countries) that
required the contestants to transform one word into another one letter
at a time. The only rule was that each letter change must also result
in a real word. Here is an example.

* Hand
* Band Changed 'H' to 'B'
* Bond Changed 'A' to 'O'
* Fond Changed 'B' to 'F'
* Food Changed 'N' to 'O'
* Foot Changed 'D' to 'T'

The challenge is to create a website that the user may supply an
arbitrary list of words which makes up a limited dictionary plus a
start and an end word. The website must then attempt to create the
shortest path between the two words following the rule that each
single letter change results in a word within the dictionary.

If you wish to take part go here -
http://blog.assembleron.com/2007/06/...n-zend-studio/

There is a copy of Zend Studio Professional up for grabs for the
winner!

Jun 14 '07 #1
4 1999
On 14.06.2007 22:47 Nick Halstead wrote:
Want to test your PHP programming skills? I have just launched a PHP
programming contest on my blog.

The problem

Many years ago there used to be a UK television quiz show (I am sure
there has probably been many versions in other countries) that
required the contestants to transform one word into another one letter
at a time. The only rule was that each letter change must also result
in a real word. Here is an example.

* Hand
* Band Changed 'H' to 'B'
* Bond Changed 'A' to 'O'
* Fond Changed 'B' to 'F'
* Food Changed 'N' to 'O'
* Foot Changed 'D' to 'T'

http://en.wikipedia.org/wiki/Transitive_closure

hope this helps ;)
--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
Jun 15 '07 #2
gosha bine wrote:
http://en.wikipedia.org/wiki/Transitive_closure
I feel it's simpler to use a classic backtracking algorithm...

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

Quien tiene problemas con telefonica tambien los tiene con su madre.
Jun 15 '07 #3
C.
On 15 Jun, 14:48, Iván Sánchez Ortega <ivansanchez-...@rroba-
escomposlinux.-.punto.-.orgwrote:
gosha bine wrote:
http://en.wikipedia.org/wiki/Transitive_closure

I feel it's simpler to use a classic backtracking algorithm...
....doesn't scale well. Hence genetic algortihms and annealing.

C.

Jun 15 '07 #4
At Fri, 15 Jun 2007 11:16:22 +0200, gosha bine let h(is|er) monkeys type:
On 14.06.2007 22:47 Nick Halstead wrote:
>Want to test your PHP programming skills? I have just launched a PHP
programming contest on my blog.

The problem

Many years ago there used to be a UK television quiz show (I am sure
there has probably been many versions in other countries) that
required the contestants to transform one word into another one letter
at a time. The only rule was that each letter change must also result
in a real word. Here is an example.

* Hand
* Band Changed 'H' to 'B'
* Bond Changed 'A' to 'O'
* Fond Changed 'B' to 'F'
* Food Changed 'N' to 'O'
* Foot Changed 'D' to 'T'


http://en.wikipedia.org/wiki/Transitive_closure

hope this helps ;)
LOL, Roy-Floyd to the rescue! To OP: while I applaud your contest
initiative, I think this puppy's been kicked around a tad too often to be
really challenging. Haven't you got a few other ideas? Perhaps something
that has some typical PHP challenges in it?

--
Schraalhans Keukenmeester - sc*********@the .Spamtrapexampl e.nl
[Remove the lowercase part of Spamtrap to send me a message]

"strcmp('apples ','oranges') < 0"

Jun 16 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2155
by: vpd | last post by:
hi, I want some help in organising an online programming contest. Is there a ready made solution available in PHP or even Perl which I could use? The contest is supposed to be based on C programming and the solutions submitted by the participants must be compiled, executed and the marks shall be allocated automatically. I want some urgent...
0
1273
by: Robby Findler | last post by:
Think your favorite programming language is the best one out there? Put it to the test in this year's International Conference on Functional Programming's annual Programming Contest. The contest is coming up in a little under 4 weeks and we have just released more information (including a live cd, mailing list, and prize details) to the web...
13
2693
by: Varun | last post by:
Hi Friends, Department of Information Technology, Madras Institute of Technology, Anna University, India is conducting a technical symposium, Samhita. As a part of samhita, an Online Programming Contest is scheduled on Sunday, 27 Feb 2005. This is the first Online Programming Contest in India to support Python !!!!. Other languages...
0
1324
by: Sridhar | last post by:
Hi, We, the students of CEG, Anna University are organizing an online programming contest as part of aBaCus 2005. The contest itself will start on 6th March 2005 at 1:00 pm IST and will end after 5 hours. You have to solve the problems posted at the start of the contest. Teams ranking high will be awarded the prizes. As a special...
0
1612
by: Sridhar | last post by:
Hi, We, the students of CEG, Anna University are organizing an online programming contest as part of aBaCus 2005. The contest itself will start on 6th March 2005 at 1:00 pm IST and will end after 5 hours. You have to solve the problems posted at the start of the contest. Teams ranking high will be awared the prizes. As a special...
0
1385
by: Catherine Chronaki | last post by:
The OpenECG programming contest deadline has been extended to January 25, 2004. Build tools for ECG viewing and interoperability and win prizes up to 6000 Euro (total prizes 10000 Euro). For more information, visit the OpenECG portal: http://www.openecg.net and click on Programming Contest. Questions may be addressed to
0
1724
by: anujb | last post by:
----------------------------------------------------------------------- We are very Pleased to announce IOPC-05 - The International Online Programming Contest. INTRODUCTION - IOPC is organized every year as a part of TECHKRITI - the annual Science and Technology festival of Indian Institute of Technology, Kanpur , India.
0
1257
by: Tom 7 | last post by:
Language lovers: Registration is now open for the 9th Annual ICFP Programming Contest! http://icfpcontest.org/ The contest, associated with the International Conference on Functional Programming, will be held on the weekend of July 21-24. The contest task will be released at noon EDT on Friday, and entries will
0
940
by: johan.t.jeuring | last post by:
Want to show off your programming skills? Your favorite programming language? Your best programming tools? Join the ICFP Programming Contest 2007! The 10th ICFP Programming Contest celebrates a decade of contests. This is one of the world's most advanced and prestiguous programming contest you can enter. For free! Book July 20 - 23,...
22
2673
by: SETT Programming Contest | last post by:
The SETT Programming Contest: The fastest set<Timplementation Write the fastest set<Timplementation using only standard C++/C. Ideally it should have the same interface like std::set. At least the following methods must be implemented: insert(), find(), begin(), end(), erase(), size(), operator<(), and at least the forward iterator. ...
0
7484
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7415
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7440
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3451
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1902
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
726
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.