good for improve skill
@Ayesha Alfili HCT2021: your comment was deleted, as it revealed a large part of a potential solution. If you need help with an attempted solution, comment on that solution without copying it into a comment.
I feel some uncomfortableness to solve with a not mathematical method, like text processing. But it may smarter than take care of floating point, round error, etc.
hi my code works for tests 1 3 4 but not for test 2, can anyone help me?
here is my code:
function y = find_max_sigdec(x)
struggled for a bit with "format long" adding a value at 1e15.
definitely a tough problem!
Easy problem, vexing test suite. Be sure to clear the workspace (especially x) between tests!
A one-liner, no strings. Not as Cody efficient as my equivalent iterative solution, though.
I wonder how solution size for this problem can be 10?
~fun with strings~
Thank you for this comment. I tried using mathematical manipulation and I could not figure it out. But strings helped me find a solution.
it is a hard problem
not sure why the format and spacing mattered on this specific problem
A tough one!
this was a very challenging problem!
Had a tough time with this one
The Answer to Life, the Universe, and Everything
03 - Matrix Variables 4
Mersenne Primes vs. All Primes
Divisible by 6
Pi Digit Probability
Find the treasures in MATLAB Central and discover how the community can help you!
Select a Web
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