2015年5月14日

摘要: Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a ... 阅读全文
posted @ 2015-05-14 23:48 neyer 阅读(179) 评论(0) 推荐(0) 编辑
摘要: /*** Definition for singly-linked list.* struct ListNode {* int val;* struct ListNode *next;* };*/struct ListNode* reverseList(struct ListNode* head) ... 阅读全文
posted @ 2015-05-14 22:01 neyer 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 工作中需要对网络传输的二进制配置文件进行md5运算生成校验码,以避免在网络传输中,文件的内容发生损坏和篡改。过程中大致是这样的:1.服务端c++,请求端java;2.请求端POST请求服务器上的某个文件,要求传输到请求端;3.向服务端请求文件时,服务端需要对要传输的文件内容作md5加密,生成32字符... 阅读全文
posted @ 2015-05-14 18:15 neyer 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 最近在公司需要开发服务器到console平台的http接口,测试暂且用curl对开发好的http接口进行测试,测试的要求主要有几点:1.发送POST请求,并携带部分请求字段: curl -d "account_id=1623235&nick_name=ddc" http://172.17.15.51... 阅读全文
posted @ 2015-05-14 15:21 neyer 阅读(143) 评论(0) 推荐(0) 编辑

导航