摘要:
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl 阅读全文
摘要:
在运行程序时,报错ImportError: No module named 'matplotlib',如图。经网上查询发现是没有安装matplotlib 因此记录一下在tensorflow环境下安装matplotlib的过程: 1.打开anaconda prompt,进入tensorflow的环境: 阅读全文
摘要:
Spyder打不开,报错:This application failed to start because it could not find or load the Qt platform plugin "windows",如图 根据网上找的教程没有改对,比如platform文件夹下没有.dll文 阅读全文
摘要:
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 题意:给定以字符串形式表示的两个非负整数num1和num2,返回这两个整数的和。No 阅读全文
摘要:
Given an m * n matrix M initialized with all 0's and several update operations. Operations are represented by a 2D array, and each operation is repres 阅读全文
摘要:
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 阅读全文
摘要:
A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 阅读全文