码林苔原的头像 ID: 54350051743

码林苔原

HelloWorld 社区成员

5690720107

文章3
个人网站0
加入社区2025

观察者模式

1.双向耦合的代码<pre<codeclassProgram{staticvoidMain(stringargs){//前台小姐童子喆SecretarytongzizhenewSecretary()

[LintCode] Climbing Stairs

ProblemYouareclimbingastaircase.Ittakesnstepstoreachtothetop.Eachtimeyoucaneitherclimb1or2steps.Inhowmanydistinctw