当前位置:网站首页>Sword finger offer (IX): abnormal jumping steps
Sword finger offer (IX): abnormal jumping steps
2022-07-26 13:18:00 【Konstanch】
solution 1: Direct law finding
class Solution:
def jumpFloorII(self, number):
# write code here
return 2**(number-1)#2 Of (n-1) power , We can find out the rules
边栏推荐
- 1-6月中国ADAS供应商占比9% 又一家零部件巨头全面布局智驾新赛道
- 0 basic programming resources (collect first ~ read slowly ~)
- Probability theory and mathematical statistics
- B+ tree (3) clustered index, secondary index -- MySQL from entry to proficiency (XV)
- The difference between $route and $route
- 基于WebRTC和WebSocket实现的聊天系统
- C regards type as generic type T and uses it as generic type of method
- [flower carving hands-on] interesting and fun music visualization series small project (13) -- organic rod column lamp
- B+ tree (5) introduction to MyISAM -- MySQL from getting started to mastering (17)
- MySQL data directory (3) -- table data structure MyISAM (XXVI)
猜你喜欢

概率论与数理统计

File upload and download performance test based on the locust framework
Exploration on cache design optimization of community like business

Version of NDK matched the requested version 21.0.6113669. versions available locally: 2

Dimension disaster dimension disaster suspense

panic: Error 1045: Access denied for user ‘root‘@‘117.61.242.215‘ (using password: YES)

SLAM 02.整体框架

【上位机教程】CANopen通信下一体化步进电机与台达PLC(AS228T)的应用

解决远程主机无法连接mysql数据库的问题

Today in history: IBM obtained the first patent; Verizon acquires Yahoo; Amazon releases fire phone
随机推荐
Emotion analysis model based on Bert
Today's sleep quality record 75 points
B+树(5)myISAM简介 --mysql从入门到精通(十七)
Niuke brush sql---2
Kubelet CRI 容器运行时
panic: Error 1045: Access denied for user ‘root‘@‘117.61.242.215‘ (using password: YES)
LeetCode 69. x 的平方根
[upper computer tutorial] Application of integrated stepping motor and Delta PLC (as228t) under CANopen communication
Does Flink CDC only support SQL client to submit SQL scripts
二叉树的初阶笔记
Target detection network r-cnn series
Display inline+calc realizes left, middle and right layout, and the middle is adaptive
基于Bézier曲线的三维造型与渲染
【花雕动手做】有趣好玩的音乐可视化系列小项目(13)---有机棒立柱灯
Kubernetes flannel: host-gw mode
Leetcode 217. there are duplicate elements
Shutter cachednetworkimage fillet
Use grid to realize left, middle and right layout, and the middle content is adaptive
解决远程主机无法连接mysql数据库的问题
Why do you want to make "secret comments"?