check whether n is a frugal number
I'm confused. My solution followed the definition of frugal numbers from https://en.wikipedia.org/wiki/Frugal_number, which includes counting the number of digits in the exponents, and also checks frugality in other bases (not just base 10). But most solutions don't follow this. Can you clarify this?
Find the sum of the elements in the "second" diagonal
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Reverse the elements of an array
5 Prime Numbers
Check Digit - 01
Yoonir - 01
Can the knight take out the pawn?
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