السلام عليكم هذه اول مشاركه لي في هذا المنتدي الرائع
انا طالبه هندسه كمبيوتر في جامعه الكويت وانا ماخذه ماده الداتا ستركجر
ولقد اعطانا الدكتور مساله هوموورك وهي عن التوافيق من الكالكولس
والسؤال:
1) write an iterative function to compute abinomial coefficient[n
[ m
2)
write arecursive function to compute abinomial coefficient[n
[ m
3) analyze the time & space requirements of your algorihms
4) what is the upper bond of your functions (big o notation
5) implement your function using c ++
note that:
[n
m]
= n!/m!(n-m)!=[n-1
m]+[n-1
m-1]
[n
0]=[n
n]=1
6) what is the time perfomance measurement ?
please help me
thanks aloooooooooooooooooooooooooooooooooooooooooooooot
:***********************************************