Earlier quoted context omitted.
Any comment in regard to my question above? At present, question 2 has serious ambiguity as to how one should interpret the data. Clearly each character represents one node, but again, there is no clear procedure for converting values. Padding makes no sense in this context. Can you clarify?
It's just as ASCII, you should sum the leaves that have ASCII digits (sum their digit value, not their ASCII code) and ignore the non-digit leaves.
The ReadyForZero Programming Challenge
21–30 of 61 posts
Re: The ReadyForZero Programming Challenge
#22My answers in 31 lines of code: https://gist.github.com/1025860 I am either misreading the third problem's description, or I have a bug I can't for the life of me see, because the answer my program puts out is not accepted.
Re: The ReadyForZero Programming Challenge
#23My answers in 31 lines of code: https://gist.github.com/1025860 I am either misreading the third problem's description, or I have a bug I can't for the life of me see, because the answer my program puts out is not accepted.
That doesn't seem in the spirit of the challenge.
Re: The ReadyForZero Programming Challenge
#24Earlier quoted context omitted.
Any comment in regard to my question above? At present, question 2 has serious ambiguity as to how one should interpret the data. Clearly each character represents one node, but again, there is no clear procedure for converting values. Padding makes no sense in this context. Can you clarify?
It's just as ASCII, you should sum the leaves that have ASCII digits (sum their digit value, not their ASCII code) and ignore the non-digit leaves.
EDIT: I understand now... jeez that was a run-around! Ascii encoded decimal! Thanks for the clarifying replies all over.
Re: The ReadyForZero Programming Challenge
#25Earlier quoted context omitted.
It's just as ASCII, you should sum the leaves that have ASCII digits (sum their digit value, not their ASCII code) and ignore the non-digit leaves.
I still don't follow. Digit value rather than ASCII code... you mean Base64 digit value? If so, do you just ignore the pad char? (I mean... by "non-digit leaves" you are referring to the leaves represented by '=' and only those?) EDIT: I understand now... jeez that was a run-around! Ascii encoded decimal! Thanks for the clarifying replies all over.
Re: The ReadyForZero Programming Challenge
#26The most difficult part was figuring out unspecified things in the problems. Generally I had to use my intuition about "otherwise this would be either impossible or too easy" to get the right answer. The first problem should be more explicit about the nature of the difference: a "typo" or non-shared could reasonably be an omission of a character, which would mean that the position of the unknown character does not ma…
Re: The ReadyForZero Programming Challenge
#27My answers in 31 lines of code: https://gist.github.com/1025860 I am either misreading the third problem's description, or I have a bug I can't for the life of me see, because the answer my program puts out is not accepted.
> #pip install python-levenshtein > from Levenshtein import distance That doesn't seem in the spirit of the challenge.
Re: The ReadyForZero Programming Challenge
#28Earlier quoted context omitted.
It's just as ASCII, you should sum the leaves that have ASCII digits (sum their digit value, not their ASCII code) and ignore the non-digit leaves.
I still don't follow. Digit value rather than ASCII code... you mean Base64 digit value? If so, do you just ignore the pad char? (I mean... by "non-digit leaves" you are referring to the leaves represented by '=' and only those?) EDIT: I understand now... jeez that was a run-around! Ascii encoded decimal! Thanks for the clarifying replies all over.
Re: The ReadyForZero Programming Challenge
#29Earlier quoted context omitted.
you're right - we should explain that it's balanced.
Any comment in regard to my question above? At present, question 2 has serious ambiguity as to how one should interpret the data. Clearly each character represents one node, but again, there is no clear procedure for converting values. Padding makes no sense in this context. Can you clarify?
Re: The ReadyForZero Programming Challenge
#30> Are you ready to get out of credit card debt? > ReadyForZero is a free online financial tool that lets you track your credit card debt ... what is this? some kind of a sick SEO experiment? flagged for spam.