What is the Computational Complexity of Rearranging a Crossword Puzzle Grid?

  • Thread starter Thread starter -Job-
  • Start date Start date
  • Tags Tags
    Hard
AI Thread Summary
The discussion focuses on the computational complexity of rearranging a crossword puzzle grid to maximize the size of a square of black boxes. It highlights the challenge of determining the smallest k for which O(n^k) serves as a lower bound for algorithms solving this problem, especially as the size m increases. The problem is linked to the P=NP question, indicating that for any integer n, it becomes significantly complex. A point is made that while one can find a polynomial to fit a finite sequence of k values, this does not definitively prove P!=NP. The conversation concludes with an acknowledgment of the difficulty of NP problems and a reluctance to engage further.
-Job-
Science Advisor
Messages
1,152
Reaction score
4
Given an n*n crossword puzzle grid composed of n^2 boxes (black and white), consider the problem of determining the size of the biggest square composed entirely of black boxes that can be created by first rearranging the rows and then the columns.
Determine the smallest k such that O(n^k) is the lower bound on the run time of any algorithm claimed to solve all instances of the above problem (with n<=m, where m is any positive integer).

This problem gets really hard as m gets bigger.
 
Computer science news on Phys.org
Is this a challenge or do you need help with the problem?
 
It's a challenge, good luck. :)
You should note that the instance of the problem where n= [any integer] is the P=NP problem, so don't try to solve that one. If you can give a sequence of m's where the corresponding k's increase as points in an exponential function then that would imply, though not prove, that P!=NP.
I wonder suppose i have an enormous sequence of m's and corresponding k's and the k's exhibit exponential behavior. No matter how big my sequence is, because it is finite, i can always find a polynomial that can produce those points, so this strategy will never prove P!=NP, or otherwise.

[EDIT: i take that back, for a large enough sequence you can get yourself $1 Million]
 
Last edited:
Thanks, but I don't have time to be messing with NP problems.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top