i feel difficulty in writing all the parameters in a function. how should i deal with this problem
thanks
Parameters in functions
Hey,
in the beginning when we start Competitive programming, everyone faces the same difficulty, so no worries.
Few tips, i`d give are:
- If u are not aware of the kind of parameter that should appear in the function call, but u r well aware of what ur code should perform, u code that down, mean way while coding the function, u`ll rectify what is required in this function that isnt defined inside this function, so just mention those variables as parameters.
- U should practice basic recursion, or for that matter easy level questions, atleast 20 things will become much clear.
- Dont bother much about paramters, code the function u`ll automatically get to know the requirements.
Hope this helps u.
Good luck