Is it valid or not? I can't post an answer that's not valid
My confusion is over the eighth test case, where the fractional part can be represented as either [4.4,5] or [4,0.45]. I'm not sure what the rules are behind this.
@JoKing Yes, your examples. Consider a timer. The timer is set from a to b. Including and between a and b are all solutions to plotting a course, or, charting growth and decay. Though each "millisecond", or whatever the span between each moment is set to has to be compared to meet a criteria for mapping fuzzy logic charts We can "expand" and "collapse" the rate of time between the "milliseonds" and eventually find the precise "frequency" which we can "round" based on mapped probabilities
@JoKing Essentially, we can "expand" and "collapse" "time" in "real time", in parallel operations, charting, or, "creating" an irrational "number", or logic accurate enough to over "time", gain precision in constant time
@JoKing While we are "expanding" and "collapsing" "time" in constant time, we want to graph each decimal digits to formulate logic; machine learning, if you will.
@JoKing You asked "Why?" It is not from "nowhere"; responding to your inquiry, which is wholly unrelated to the requirement of the question. Don't ask about the application and focus on the already clear question.
@JoKing If we start a timer at a 123 we will eventually get to 321at b. If we have x total solutions we know are in that range, we can change the frequency of the timer, multiplied by several variables, in parallel, to "find" all solutions in constant time, without comparisions. We have several variables; we are charting a fuzzy logic map where we can use decimals to get "close" to the actual solution. The closest that can compare to is compound interest with additions
github.com/guest271314/GraphInterest with a variable interest rates, that we chart in real time to avoid having to "compare"; we "create" "irrational numbers"
@JoKing That is the reason for the preference for one extra array element. Though either will suffice, because we are not using only a single solution; we use all solutions simultaneously to build the fuzzy logic graph; theoretically, for any problem
@JoKing You do not need to see a relation. It is beyond the scope of the question, though you asked, more than once "Why?"
@guest271314 On this site, you should be focused on making your challenge good, rather than formatting it to answer a specific problem you are researching. That is not the point of the site.
Why is [5,4,5,4,5,4,0.45] valid for 545454.45, but [1,0.99,9] is not for 1.999? There's no rule given in the question. Is the first case just a special case for that particular number?
@Quintec Have done so. The edits to the question in response to suggestions for improvement prove that fact. There is no guarantee that any individual will understand or comprehend any other individual, in any field of endevor
@JoKing No, either are valid. Prefer the expanded version for the reasons stated above, though can use either. If have stated otherwise at comments can and will make that clear at the question; beyond the already present "or"
@JoKing To resolve the confusion, any of the options are valid. The original question considered the second example. You and others have pointed out the commonality between the options. All of the options are valid. As they ultimately all can be utilized. The string part does not change; strings cannot be used. Does that render your confusion cured?
@JoKing What do you mean by "rule"? Is "or" not conclusive enough for you? A transitor has "OR" gates; boolean logic has an "OR". There is nothing to infer.
@Quintec That is fine, too. Am well-suited to resolving own inquiries. There is no "attitude". That is direct communication. Am not here to appease your emotions or emotional responses. Asked a programming question. Post a programming answer, or not.
Imagine a challenge. For the input 5, you can output 1,2,3 or 4, because the rule is that you can output numbers less than the input. What is the equivalent rule for your challenge?
@JoKing That is one aspect of applied fuzzy logic. The conditions and graphing procedures are beyond the scope of the question. There are only the options that you printed on this screen for the input at the question. You do not need to know why. Have explained and you still state you do not understand. That is fine too. Am not here to convince, either
@JoKing Since the main issue appears to be the concept of more than one output - specifically relating to digits adjacent to decimals, the requirement could be to return all of the different possible outputs, which is finite. The string omission portion is another part of the question. That can remain.
@guest271314 Direct response? Okay. You are purposefully being vague and not answering my question. Post a poor question, receive poor (or no) answers. I'm done attempting to "communicate" with you.
@JoKing Have not refused to state anything. Individuals are confined to their own concepts. The rule is to expand the input, separating the decimal at a single index. How users interpret decimal and adjacent numbers proves that all possibilities must be explored, which is finite. The examples that you provided are only limited to under four options.