首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
AlbertSun
哈尔滨工业大学
2018届
算法工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(8)
数串
11
if __name__ == '__main__': n = raw_input() arr = raw_input().split() print ''.join(sorted(arr, lambda x, y : -cmp(x+y, y+x))) 提供一个正常人都能看懂...
发表于 2017-08-09 17:47:14
连续子数组的最大和
0
# -*- coding:utf-8 -*- class Solution: def FindGreatestSumOfSubArray(self, array): # write code here sum = 0 max = -1 ...
发表于 2017-07-05 20:22:06
反转链表
1
# -*- coding:utf-8 -*- class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: # 返回ListNode d...
发表于 2017-07-05 16:51:36
合并两个排序的链表
7
# -*- coding:utf-8 -*- class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: # 返回合并后列表 def ...
发表于 2017-07-05 16:18:53
链表中倒数第k个结点
1
# -*- coding:utf-8 -*- class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def FindKthToTail...
发表于 2017-07-05 15:23:26
调整数组顺序使奇数位于偶数前面
0
# -*- coding:utf-8 -*- class Solution: def reOrderArray(self, array): # write code here n = len(array) i = 0 while...
发表于 2017-07-05 14:43:17
编码
34
#include <stdio.h> #include <string.h> #define N1 1 #define N2 25 #define N3 (25 * 25) #define N4 (25 * 25 * 25) #define C1 N1 #define C...
发表于 2017-06-26 16:33:37
如果使用两个512KB容量的存储器代替图A1MB容量的存储器,图B中方框内应该是什么样的电路?
0
把A地址线的高19位或低19位与B中的地址总线连上,剩下的一根地址线与B的片选线连上(一个片选线直接连,一个取反后再连)。一种是分别存储单双字节,一种是分别存储高512KB和低521KB 。
发表于 2015-04-22 12:55:05
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题