Your solution is the same with mine, from the alogrithm view.
Your code style is MATLAB style, while my solution is C/ C++ style.
Yes, I saw your solution and change it to vector style.
Your solution is the same with mine, even the variable names.
Are you cheating?
I know, you just copy my solution in "Problem 44747. Exponents in Factorials".
@li haitao, it doesn't matter. It is hard to say James copy your solution. It is possible two codes are same in cody. Even copy, please don't mind. I also copy other's code to solve cody problem.
I don't mind, I just curious in the beginning.
A few minutes later, I know the reason, but I can not delete the comments, may be there are some bugs in cody sites.
@li haitao, there is a button named Delete which is bule in southeast of the comment box.
Remove any row in which a NaN appears
Make one big string out of two smaller strings
Back to basics 2 - Function Path
Back to basics 9 - Indexed References
Find the largest value in the 3D matrix
What can you get for exactly amount of money(harder)
Moving Median Absolute Deviation
Project Euler: Problem 14 Longest Collatz sequence
Project Euler 249: Prime Subset Sums
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office