home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.theory
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!sgiblab!news.cs.indiana.edu!lynx!nmsu.edu!opus!gupta
- From: gupta@nmsu.edu (Gopal Gupta)
- Subject: A question
- Message-ID: <1992Sep3.225109.24782@nmsu.edu>
- Sender: usenet@nmsu.edu
- Organization: NMSU Computer Science
- Date: Thu, 3 Sep 1992 22:51:09 GMT
- Lines: 32
-
-
- Can anyone help me with the following problem. An actual
- proof or a reference to a paper where I can find the proof
- will be most helpful. Thanks.
-
- Consider the following sequential program:
-
- begin
- (1) input a finite set of integers S;
- (2) find an x in S such that some fixed property P(x) is true;
- (3) output x
- end.
-
- Question: Can the search in step 2 be done in number of steps
- independent of the size of S? If so, how? If not, how do
- you prove it? (Ignore time to compute P(x).)
-
-
- Please reply by email, as I don't read this newsgroup often.
-
- Thank you.
-
- Gopal Gupta
- ---------------------------------------------------------------------
- Department of Computer Science email: gupta@nmsu.edu
- Box 30001, Dept. CS gupta@compsci.bristol.ac.uk
- New Mexico State University Ph: +1 (505) 646 6236
- Las Cruces, NM 88003-0001 Fax: +1 (505) 646 6218
- USA
- ---------------------------------------------------------------------
-
-
-