题目地址
题目描述
Implement a MyCalendarThree
class to store your events. A new event can always be added.
你想开发游戏还是改变世界?
【中文版】第六课:键盘和鼠标
【英文版】Tutorial 6 : Keyboard and Mouse
上一篇文章中我们使用了矩阵运算让正方体实现了平移旋转等操作,不过都是用我们设定好的值进行变换,这一篇中我们将实现使用鼠标API使得正方体在X,Y平面上随鼠标移动,并且使用W,A,S,D和Up,Down,Left,Right等键位控制关于X,Y轴的旋转。
LeetCode#784 Letter Case Permutation
Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible strings we could create.
LeetCode#739 Daily Temperatures
Given a list of daily temperatures
, produce a list that, for each day in the input, tells you how many days you would have to wait until a warmer temperature. If there is no future day for which this is possible, put 0
instead.
For example, given the list temperatures = [73, 74, 75, 71, 69, 72, 76, 73]
, your output should be [1, 1, 4, 2, 1, 1, 0, 0]
.