Skip to main content

Element Distinctness and Sorting on One-Tape Off-Line Turing Machines

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4910))

Abstract

We investigate off-line Turing machines equipped with a two-way input-tape and one work-tape.

It is shown that the Element Distinctness Problem (EDP) for m binary strings of length ℓ = O(m/log2 m) can be solved in time O(m 3/21/2) and space O(m 1/21/2) on a nondeterministic machine. This is faster than the best sorting algorithm on the computational model and optimal if time and space are considered simultaneously.

For deterministic machines we give an optimal algorithm that can sort m binary strings consisting of ℓ bits each in O(m 3/2ℓ) steps, provided that ℓ = O(m 1/4). By modifying the solution we obtain the time bound O(m 3/2ℓ) and the space bound O(m 1/22) for the EDP.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Ben-Amram, A.M., Berkman, O., Petersen, H.: Element distinctness on one-tape Turing machines. Acta Informatica 40, 81–94 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  2. Book, R.V., Greibach, S.: Quasi realtime languages. Mathematical Systems Theory 4, 97–111 (1970)

    Article  MATH  MathSciNet  Google Scholar 

  3. Buhrman, H., Dürr, C., Heiligman, M., Høyer, P., Magniez, F., Santha, M., de Wolf, R.: Quantum algorithms for element distinctness. SIAM Journal on Computing 34, 1324–1330 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  4. Dietzfelbinger, M., Maass, W., Schnitger, G.: The complexity of matrix transposition on one-tape off-line Turing machines. Theoretical Computer Science 82, 113–129 (1991)

    Article  MATH  MathSciNet  Google Scholar 

  5. Fredman, M.L., Komlós, J., Szemerédi, E.: Storing a sparse table with O(1) worst case access time. Journal of the Association for Computing Machinery 31, 538–544 (1984)

    MATH  MathSciNet  Google Scholar 

  6. Karchmer, M.: Two time-space tradeoffs for element distinctness. Theoretical Computer Science 47, 237–246 (1986)

    Article  MATH  MathSciNet  Google Scholar 

  7. Kushilevitz, E., Nisan, N.: Communication Complexity. Cambridge University Press, Cambridge (1997)

    MATH  Google Scholar 

  8. López-Ortiz, A.: New lower bounds for element distinctness on a one-tape Turing machine. Information Processing Letters 51, 311–314 (1994)

    Article  MATH  MathSciNet  Google Scholar 

  9. Petersen, H.: Bounds for the element distinctness problem on one-tape Turing machines. Information Processing Letters 81, 75–79 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  10. Slot, C., van Emde Boas, P.: The problem of space invariance for sequential machines. Information and Computation 77, 93–122 (1988)

    Article  MATH  MathSciNet  Google Scholar 

  11. Szepietowski, A.: The element distinctness problem on one-tape Turing machines. Information Processing Letters 59, 203–206 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  12. Wiedermann, J.: Optimal algorithms for sorting on single-tape Turing machines. In: van Leeuwen, J. (ed.) Algorithms, Software, Architecture, Proceedings of the IFIP 12th World Computer Congress, Madrid, Spain, vol. I, pp. 306–314. Elsevier Science Publishers, Amsterdam (1992)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Viliam Geffert Juhani Karhumäki Alberto Bertoni Bart Preneel Pavol Návrat Mária Bieliková

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Petersen, H. (2008). Element Distinctness and Sorting on One-Tape Off-Line Turing Machines. In: Geffert, V., Karhumäki, J., Bertoni, A., Preneel, B., Návrat, P., Bieliková, M. (eds) SOFSEM 2008: Theory and Practice of Computer Science. SOFSEM 2008. Lecture Notes in Computer Science, vol 4910. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-77566-9_35

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-77566-9_35

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-77565-2

  • Online ISBN: 978-3-540-77566-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics