It would be interesting if the wife ask: "do you think i am wrong?" LOL
use varargin as the input
This is a brilliant question!
good one :)
great twist to a simple problem!
Read the test cases to notice the trick!
delete this garbage
Very simple problem, yet powerful
This is awesome
I don't quite understand what extra piece this is asking for. Could someone explain a bit more explicitly? I have test 1 correct, but test 2 failed.
It's difficult to give much of a hint without giving away the answer. The key is that your function needs to be able to accept ANY input.
thats a tricky one. it really helps to improve coding practice.
Very very tricky problem
I suggest to make more description for your problem
I think that "Honey,do you think I'm wrong?" really is the one your wife need to ask,luckily,she seems bossy,not tricky.LOL
In test suit in two cases you showed but answer 'yes' not working
You need to make sure that the function can handle multiple inputs. It really goes to show you that you can't just accept what is given to you as is!
peta to nano (x-ray)
Given a window, how many subsets of a vector sum positive
Remove the Zero
Flip the bit
Increment a number, given its digits
Sum my indices
Figurate number triangle
Cull vector elements that contain a specified digit
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