- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 matplotlib的入门练习题
Exercise 11.1: Plotting a functionPlot the function f(x)=sin2(x−2)e−x2(x)=sin2(x−2)e−x2(x)=sin^2(x-2)e^{-x^2}over the interval [0,2]. Add proper axis labels, a title, etc.import matplotlib.pyplo...
2018-05-27 11:36:11 1442
原创 《Python导论》练习(Introduction to Python)Exercise of Numpy
Generate matrices A, with random Gaussian entries, B, a Toeplitz matrix, where A ∈Rn×m and B ∈Rm×m, for n = 200, m = 500. import randomfrom scipy.linalg import toeplitzimport numpy as npn = ...
2018-05-20 22:07:35 240
原创 LeetCode 21. Merge Two Sorted Lists
问题Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example: Input: 1->2->4, 1->3->4分析...
2018-05-07 09:24:48 119
原创 LeetCode 19. Remove Nth Node From End of List
题目Given a linked list, remove the n-th node from the end of list and return its head. Example:Given linked list: 1->2->3->4->5, and n = 2.After removing the second node from the end...
2018-05-07 09:11:24 108
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人