Skip to main content
gamedev.net
🔒 Locked

advanced recursion problem

Started by ryonckc2004 0 replies 400+ views
Original Post
ryonckc2004
ryonckc2004
You are given six equilateral triangles (same sizes) whose edges are numbered. Your task is to form a hexagon (a 6-sided polygon) by matching the edges of the triangles. The edges common to two triangles match if they have the same number on them. You may move or rotate the triangles but you can't flip them. The score of the hexagon is the sum of the numbers on the exterior edges. Write a complete Java program that computes the maximum hexagon score. How do I exactly start to solve this problem?
Nice Coder
Nice Coder
This seems extreamly Homeworkish, and is not allowed.
Please read the forum faq

This thread will be closed by a mod shortly (if it is indeed homework, which it seems to be)
From,
Nice coder
Click here to patch the mozilla IDN exploit, or click Here then type in Network.enableidn and set its value to false. Restart the browser for the patches to work.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.