@Barmar: Stack Overflow is
not a site “to ask questions about specific code that you've written.” That is a
subset of what questions can be asked. The
Help Center says that, generally, questions about specific programming problems, software algorithms, software tools commonly used by programmers, and practical, answerable problems unique to software development are appropriate. Certainly questions about algorithm design are within those general areas, although it is better if they are somewhat more specific than this one. —
Eric Postpischil 20 secs ago