- #1
Joystar77
- 125
- 0
How many vcomparisons did you actually need?
n. (Smile)Joystar1977 said:How many vcomparisons did you actually need?
Do you need to sort this sequence? You still have not said what v-comparisons are.Joystar1977 said:I will rephrase the question Evgeny. Makarov. When having the following numbers: 7, 12, 5, 22, 13, and 32 how many vcomparisons did I actually need?
I believe this question is being discussed in https://driven2services.com/staging/mh/index.php?threads/5719/.Joystar1977 said:Another question I have when having the following numbers: 7, 12, 5, 22, 13, and 32 what is the maximum number of comparisons required for a list of 6 numbers?
The maximum number of comparisons required for a list of 6 numbers would be 5 comparisons. If this is not correct, then can you please explain this to me?
Evgeny.Makarov said:Do you need to sort this sequence? You still have not said what v-comparisons are.
As a general advice, you should ask questions in such a way that individual threads are self-contained. One thread should not require a context from a different thread. If you do rely on another thread, you should post a link there. Even if two threads were asked at the same time, after several replies they may be separated by other threads in the list of recent posts, so it is is no longer obvious that they may be related. Also, different threads may be read by different people. I believe this is a rule not just on this forum.
I believe this question is being discussed in https://driven2services.com/staging/mh/index.php?threads/5719/.
This may be a typo. The question may ask for the actual number of comparisons for this concrete list as opposed to the the maximum number of comparisons over all lists of 6 numbers.Joystar1977 said:d. What is the maximum number of comparisons required for a list of 6 numbers?
e. How many vcomparisons did I actually need?
Discrete Mathematics is a branch of mathematics that deals with mathematical structures that are discrete rather than continuous. It includes topics such as logic, set theory, combinatorics, graph theory, and algorithms.
Discrete Mathematics differs from other branches of mathematics in that it focuses on discrete structures and processes, rather than continuous ones. This means that it deals with objects that can only take on distinct, separated values, as opposed to objects that can take on any value within a range.
Discrete Mathematics has many practical applications, such as in computer science, cryptography, networking, and data analysis. It is also used in decision-making processes, such as in economics and game theory.
Some common topics studied in Discrete Mathematics include logic and proofs, sets and set operations, graph theory, counting and combinatorics, probability, and algorithms and data structures.
Discrete Mathematics provides tools and techniques for analyzing and manipulating discrete data, which is often encountered in computer science and data analysis. These tools can help with tasks such as data mining, pattern recognition, and optimization.