Hello, Mohammad Abir Hassan Sarker. Are you perhaps still developing this Problem? There is one vital improvement that you will need to make, which is to ensure that you include several (at least four) tests within your Test Suite, each for a different set of inputs. One assertion is not sufficiently rigorous, as demonstrated in Solution 1489700. You can find some more thoughts on these matters at Problem 44521. Regards, DIV.
agree with D.V.
Thanks, yeah, it's just like you said, I was developing the problem, but things came up & couldn't make it better, sorry for that.
The Goldbach Conjecture
radius of a spherical planet
Bottles of beer
Convert a vector into a number
Evaluating a polynomial
Find the treasures in MATLAB Central and discover how the community can help you!
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