01 2018 档案
摘要:a &= b also means a = a & b true & true ==> true true & false ==> false false & true ==> false false & false ==> false true | true ==> true true | fal
阅读全文
摘要:Output: It seems the local map valuesHaveBeenSeen is just created once and used throughout the iteration.
阅读全文
摘要:References: [1] http://rick-hightower.blogspot.co.uk/2014/04/which-is-faster-java-object.html [2] https://www.darkreading.com/informationweek-home/why
阅读全文
摘要:Traditional Recursion Perform recursive call first, and the do the calculation. Tail Recursion Perform calculation first, then execute the recursive c
阅读全文
摘要:Reference [1] https://leetcode.com/articles/task-scheduler/ [2] https://www.hackerrank.com/challenges/task-scheduling/problem (hackerrank or interview
阅读全文
摘要:正向代理 Proxy 代理访问外部资源。它隐藏了真实的请求客户端,服务端不知道真实的客户端是谁,客户端请求的服务都被代理服务器代替来请求。对公司内网来说,代理服务器可以帮助内网用户访问任意外部网址,也可以禁止访问一些网址。 e.g. 国内访问google.com,可以使用代理服务器。 访问原来无法访
阅读全文