2020
Bults Nuts
Nuts and bolts. It has a mixed pile of N nuts and N bolts and you need to quickly find the corresponding pair of nuts and bolts. Each nut matches exa…
Overview
Nuts and bolts. It has a mixed pile of N nuts and N bolts and you need to quickly find the corresponding pair of nuts and bolts. Each nut matches exactly one screw, and one screw matches exactly one nut. By putting a nut and bolt together, you can see that one is larger, but it is not possible to directly compare two nuts or two bolts. Develop an efficient algorithm for solving this problem. At the end of the program, the combination of each nut with its screw should appear on the screen. Open-source project by Eladio Junior Rodriguez Rodriguez, published on GitHub.
Highlights
- Primary language: C#
- Open source — view the code and contribute on GitHub
Built with
- C#
Discussion (0)
Log in to comment.
No comments yet. Be the first to start the conversation.