You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 1I solved this graphically - use nodes to represent the results of calculations and edges to represent operations that can be done on those numbers, then use a graph search algorithm to find the desired pathell– ell2013-10-09 20:22:43 +00:00Commented Oct 9, 2013 at 20:22
- 1From a reading of the rules, it would seem that it is possible to not reach a perfect solution - for example if the numbers selected are (1, 1, 2, 2, 3, 3) and the target number is 999. So really the target for any algorithm would be finding the closest possible solution.Rich Smith– Rich Smith2013-10-11 15:34:52 +00:00Commented Oct 11, 2013 at 15:34
- 1@ell: Is your graph search solution basically a brute force search?Martin– Martin2013-10-18 08:40:08 +00:00Commented Oct 18, 2013 at 8:40
- I just used a depth first search in my implementation, but I don't see why something like Dijkstra couldn't be used.ell– ell2013-10-18 16:34:02 +00:00Commented Oct 18, 2013 at 16:34
- 1We have some similar shows in the States: we stick approximately 6 sub-literate idiots in a house for several weeks and film them talking about each other and yelling at each other. That's about as close as our TV gets to something this intellectual in popular shows.RBarryYoung– RBarryYoung2013-11-10 23:09:36 +00:00Commented Nov 10, 2013 at 23:09
| Show 2 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you