摘要: You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number 阅读全文
posted @ 2020-07-01 22:51 Schwifty 阅读(143) 评论(0) 推荐(0)
摘要: 以下转载自https://how2j.cn/k/javascript/javascript-tag/425.html 1. javascript代码必须放在script标签中script标签可以放在html的任何地方,一般建议放在head标签里,按先后顺序执行 2.JavaScript注释 //单行 阅读全文
posted @ 2020-07-01 12:52 Schwifty 阅读(141) 评论(0) 推荐(0)
摘要: You are given a char array representing tasks CPU need to do. It contains capital letters A to Z where each letter represents a different task. Tasks 阅读全文
posted @ 2020-07-01 07:09 Schwifty 阅读(170) 评论(0) 推荐(0)
摘要: Design your implementation of the circular queue. The circular queue is a linear data structure in which the operations are performed based on FIFO (F 阅读全文
posted @ 2020-07-01 03:31 Schwifty 阅读(132) 评论(0) 推荐(0)