- 博客(3)
- 收藏
- 关注
原创 关于big-endian和little-endian小程序
之前在笔试的时候,老会遇到被写各种小的代码,big endian 和 little endian就是其中之一。使用union实现非常方便。#include int main(){ union{ short s; char str[2]; } test; test
2015-03-25 13:39:54 286
原创 题目:max length in leetcode
题目Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3
2015-03-21 16:01:12 234
原创 LeetCode刷题-------Add Two Numbers
楼主是小硕一枚,为了提升算法能力,特立此贴,开始刷leetcodeYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add th
2015-03-21 08:31:38 202
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人