John Wong
一个热爱编程的傻瓜
笔记本连接Cisco: LEAP网络
公司无线覆盖,但是加密类型是Cisco: LEAP遇到一点问题。
Java代码签名与认证
看了这一章的内容,觉得有的部分很熟悉,因为Android签名用到了。
Java ClassLoader详解
深入Java虚拟机,ClassLoader是其中重要的一个环节。
Java SecurityManager
Java的SecurityManager用于完成对一些本地方法的权限管理。
阿里实习面试总结
这次妥妥的倒在了一面上。还是基础不够扎实。
在Java下使用NTP获取时间
NTP全称网络时间协议,是仍在使用中的最古老的网络协议之一。
CareerCup-6.1
Add arithmetic operators to make the following expression.
CareerCup-5.7
Write code to find the missing integer in O(n) time.
CareerCup-5.6
Write a program to swap odd and even bits in an integer with as few instructions as possible.
CareerCup-5.5
Write a function to determine the number of bits required to convert integer A to integer B.
CareerCup-5.3
Given an integer, print the next smallest and next largest number that have the same number of 1 bits in their binary representation.
bat实现IP切换
出差调试设备,需要在几个网段之间切换,因此做了个bat实现快速切换。
CareerCup-5.2
Given a number that is passed in as a string, print the binary representation.
CareerCup-5.1
You are given two 32-bit numbers, N and M, and two bit positions, i and j. Write a method to set all bits between i and j in N equal to M.
CareerCup-4.7
Create an algorithm to decide if T2 is a subtree of T1.
CareerCup-4.6
Design an algorithm and write code to find the first common ancestor of two nodes in a binary tree Avoid storing additional nodes in a data structure.
CareerCup-4.5
Write an algorithm to find the ‘next’ node of a given node in a binary search tree where each node has a link to its parent.
CareerCup-4.4
Given a binary search tree, design an algorithm which creates a linked list of all the nodes at each depth.
CareerCup-4.3
Given a sorted array, write an algorithm to create a binary tree with minimal height.
CareerCup-4.2
Given a directed graph, design an algorithm to find out whether there is a route between two nodes.