footballman
BAN USER- 0of 0 votes
AnswersGiven a dataset with three columns: one column shows the account number from which an amount of money is wired, one column shows the account number to which the amount of money is wired, and three shows the amount of the transfer. Design an algorithm to make a new dataset with three columns such that the first column is the account number, the second column is the TOTAL amount of money transfered to the account, and the third column is the TOTAL amount of money transferred from the account.
- footballman in United States| Report Duplicate | Flag | PURGE
Analyst Algorithm
Nice, I was in process of typing this out until I noticed you wrote it haha.
- footballman January 12, 2013This is what I thought too.
- footballman January 12, 2013Perhaps I was not clear. There are no negative values unless you would define a new variable for there to be negative values. The original spreadsheet would look like this:
_____________________________
| Acct From | |Acct To| | Amount |
The new spreadsheet would look like:
______________________________________
| Account | |Total Incoming | | Total Outgoing |
Probably the simplest explanation is this:
Pr(1st) = 5/5 = 1 since whomever is first can sit wherever he wants.
Pr(2nd) = 2/4 = 1/2. This is because there are 4 seats remaining, two of which the 2nd person can sit at in order to be next to the first.
Now we have 3 remaining seats and these guys can sit in any order. So the respective probabilities are 3/3, 2/2, 1/1, which all equal 1.
Then the final answer is 5/5 * 2/4 * 3/3 * 2/2 * 1/1 = 2/4 = 1/2
Well, it actually depends on how you want to view the question. If you regard as the numbers being the options, then yes D is the correct answer.
- footballman February 07, 2013But let's say that the answer randomly chosen is the actual letter in the set {A, B, C, D} and we do not care about the number. Then, actually, the answer would be 25%.