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*
- 2Can't say I completely agree here: 1) "How to" != "What's the best" 2) OP is looking for a programmic way to solve it. 3) OP is looking to do it with software. 4) True, but it doesn't need to be. 5) How is a pair matching algorithm not practical? 6) Kinda true. I'll give this one to you.Mysticial– Mysticial2013-01-21 03:03:50 +00:00Commented Jan 21, 2013 at 3:03
- 2@Mysticial I appreciate the thoughtful response, but: 1) "what is the best way to pair them up efficiently with up to logarithmic extra space?" is an exact quote from the question; 2) OP specifically asks for a "general theoretical solution for a huge number of socks"; 3) OP doesn't mention "anything directly related to writing computer programs" (see stackoverflow.com/about). It's easy to get side-tracked by the fact that it's algorithmic, but it does not meet the criteria listed in our FAQ or About pages.CodeGnome– CodeGnome2013-01-21 03:15:05 +00:00Commented Jan 21, 2013 at 3:15
- 11) That seems a bit more like nitpicking. 2) I don't see anything particularly bad about a general algorithm? He's asking for a general algorithm to a specific problem. 3) Under that argument, we might as well start by closing every single question here.Mysticial– Mysticial2013-01-21 03:20:58 +00:00Commented Jan 21, 2013 at 3:20
- 2The FAQ, although it's been tightened up considerably over the years, does allow some leeway for things like this. He faced a real problem (one that many of us have), and is asking for a programmatic solution to it (naturally, one would have to assume the presence of some rather specialized hardware in order to actually implement it). That said, I appreciate this can be a bit of a stretch, so: meta.stackexchange.com/questions/164436/…Shog9– Shog9 StaffMod2013-01-21 03:56:07 +00:00Commented Jan 21, 2013 at 3:56
- @Shog9 are you seriously expecting him to start hashing his socks from tomorrow ?asheeshr– asheeshr2013-01-21 12:57:03 +00:00Commented Jan 21, 2013 at 12:57
- @Shog9 also, who decides how much of a stretch is allowed ? The opinion here suggests that is in fact off-topic however borderline it may beasheeshr– asheeshr2013-01-21 12:59:27 +00:00Commented Jan 21, 2013 at 12:59
- 4@Shog9: amit is free to start a blog and put his sock curiosity on there...user7116– user71162013-01-21 15:29:17 +00:00Commented Jan 21, 2013 at 15:29
Add a comment |
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. stack-overflow), 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