public static mark dynway( ) //put or pop the books into the basket,mark the highest recorder { int Sum,Max; int lom = -1; int him = -1; boolean star ...
分类:
其他好文 时间:
2017-06-02 20:21:38
阅读次数:
151
以此类推,选择器 :last-child 和 :last-of-type、:nth-child(n) 和 :nth-of-type(n) 也是同样道理的。 ...
分类:
Web程序 时间:
2017-06-01 19:34:29
阅读次数:
412
一、描述 1、题目 2、题意 一个只能顺序遍历的链表,求去除逆序数为 n 的节点后的链表并返回! 二、解答 1、思路: 首先想到遍历一次链表,为求出节点总个数 ,则要删除的节点序号即为: 节点总数 - 逆序号n ,问题得解! 2、优化: 不是双向链表,求逆序号的节点,可以采用一个指针指向表头p1,另 ...
分类:
其他好文 时间:
2017-05-30 23:05:24
阅读次数:
236
:nth-child和:nth-of-type都是CSS3中的伪类选择器,其作用近似却又不完全一样,对于不熟悉的人对其可能不是很区分,本文就将介绍两者的不同,以便于大家正确灵活使用这两类选择器。 先看一个简单的实例,首先是HTML部分: <section> <p>我是第1个p标签</p> <p>我是 ...
分类:
其他好文 时间:
2017-05-30 20:51:05
阅读次数:
198
题目描述 Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. Afte ...
分类:
其他好文 时间:
2017-05-30 16:11:25
阅读次数:
171
goods = ["iphone6s","mac_book","coffee","python_book","bicyle"] price = [5800,9000,32,80,1500] salary = 5000 show_str = """ ____________您的会员卡还有余额 %d元_... ...
分类:
其他好文 时间:
2017-05-29 19:20:04
阅读次数:
174
数据库以行、列的二维表的形式存储数据。可是却以一维字符串的方式存储。比例如以下面的一个表: EmpId Lastname Firstname Salary 1 Smith Joe 40000 2 Jones Mary 50000 3 Johnson Cathy 44000 这个简单的表包含员工代码( ...
分类:
数据库 时间:
2017-05-29 13:33:49
阅读次数:
610
product_list = [ ("Iphone",6000), ("Mac pro",12800), ("Bike",600), ("Watch",8000), ("Book",24), ("çoffee",35),]shopping_list = ()salary = (input("请输入您 ...
分类:
编程语言 时间:
2017-05-24 23:57:06
阅读次数:
255
19. Remove Nth Node From End of List 1 /** 2 * Definition for singly-linked list. 3 * public class ListNode { 4 * int val; 5 * ListNode next; 6 * List ...
分类:
其他好文 时间:
2017-05-24 23:53:21
阅读次数:
130
地址:https://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/ Given a linked list, remove the nth node from the end of list and return its hea ...
分类:
其他好文 时间:
2017-05-24 19:46:47
阅读次数:
147