Log for
電訊台
man day * exp(expected salary/current salary - 1)
lol, only tell the truth if your expected = current
3sum a + b + c = 0
2sum a + b + 0 = 0
technically can be directly used since its an expression
but you need to convert it to readable structure anyway like React.createElement, transpiling it is usually done as well
其實我覺得呢度應該升有CCNA的人做admin 以示表揚
Licson可以試下將有certification的人加個admin 改做相應level
exactly, as a jack of all trades i know nothing let alone trying to master one
因為冇得one to one mapping between solutions in 2sum and 3sum?
3sum可以freeze一個variable當2sum
in fact k-sum should work in this manner too
3sum將兩個var夾做 <(i,j), sum>
how this mapping helps u to solve the problem?
re use the hash set structure in 2sum
class Solution:
def threeSum(self, nums: List[int]) -> List[List[int]]:
if len(nums) == 1 or len(nums) == 2:
return []
res = []
sol_set = set()
two_sums = dict()
N = len(nums)
for i in range(N):
for j in range(i+1, N):
two_sums[(i,j)] = nums[i] + nums[j]
for i in range(N):
for k,v in two_sums.items():
if i in k:
continue
if -nums[i] == v:
sol = sorted([i,k[0],k[1]])
sol = sorted([ nums[sol[0]], nums[sol[1]], nums[sol[2]] ])
sol_set.add((sol[0], sol[1], sol[2]))
return list(sol_set)
why don't you sort the input array first?
if u restrict the conditions on 3sum, and map it to 2sum
what u should do is to reuse the solution of 3sum
you mean the binary search approach?
apply to all kind of such mappings of problems
if u restrict the conditions on [problem A], and map it to [problem B]
what u should do is to reuse the solution of [problem A], but not [problem B]
damn i thought 3sum is a generalization of 2sum
the problem itself is
the solution is not :)
^ general pattern of solution reuse
It's a tad bit more complicated than that
K sum can be reduced to K-1 sum?
A can be reduced to B does not imply any kind of relationship...
emm, maybe "does not necessarily" would be a better word?
@licson is GRE going to offer any more advantages over wireguard?
given that wireguard can offer same raw speed of gre over conventional x86 hardware
ah also, is mpls similar to vlan?
label sounds like tag to me
u can say also is a tag… but i remember not same a fuction
MPLS labels are local to router
The label will change after forwarding
Labels are distributed by routing protocols or LDP
so MPLS just some leased line?
only saw this with some client's own configuration
The label switching thing is just the base
i only know such word but nth more lol
MPLS can accelerate IP routing
Provide layer 2 VPN service
Carry protocols other than Ethernet
Or any other stuff related to labels
e.g. Use MPLS labels for home broadband authentication
Even the new Segment Routing used MPLS as base
And MPLS traffic engineering
You can make sure all linkd are utilized in a backbone
Segment routing = Old meets new
- Fast failover from SDH
- Traffic Engineering capabilities
- Controller optional
(no prior SDN experience here)
just glimpsed and there are tons of buzz word
@licson there is no way gre is meshable right
i just realized this so maybe im still sticking with wireguard...
yes multipoint but it doesnt seem to work over the internet
If it doesn't, what's the point
how do you get mac first for neighbour lol
well actually i fucked up since i was using gretap...
just gre tunnel is fine and works as intended
fuck me im retarded, i forgot gretap is on layer2 thats why you cant link the neighbour up
ok now i gotta figure out how to use multipoint gre on vyos lol
Dear Students
The existing carrier based secure VPN service for Mainland-based students to access to LEARN @PolyU platform will end in February 2021. Based on the feedback from Mainland-based students, user experiences are not consistent across locations with different Internet service carriers.
Effective from 4 January 2021, a new VPN service “Cloud Express” will be available to all Mainland-based students. “Cloud Express” will have two Data Centers (Beijing and Shenzhen) which allow PolyU students to establish the VPN connection. Both Data Centers have direct connections to all three telecom carriers in Mainland (China Mobile, China Telecom and China Unicom). “Cloud Express“ provides a higher-resilience multiple-entry secure VPN service for students in Mainland irrespective of the telecom carriers of local Internet service providers subscribed by students.
hmmmmmm will it be an IPLC
C:\Users\Steve>ping 47.107.225.255
Pinging 47.107.225.255 with 32 bytes of data:
Reply from 47.107.225.255: bytes=32 time=145ms TTL=83
Reply from 47.107.225.255: bytes=32 time=164ms TTL=83
Reply from 47.107.225.255: bytes=32 time=187ms TTL=83
Reply from 47.107.225.255: bytes=32 time=157ms TTL=83
lol
agree so trash like me can still be here
oh wait it has to be startups anyway
咁diff下個science park incubator或者company list有無位置變動 就應該大概率知你係邊😂
又btw,弊公司入左批notebook,全部用adaptor rj45
要拎返舊嘅notebook buildin port先得
冇built in port得USB 2.0定3.0
Actually I don’t think my 👻 is long
me only 178 and 90kg
obese af
I am only about 160cm
Nothing can help
you shorter than most girl then
this meme get it did you not
not a fan of star war you i suppose
你介紹嗰個中文講邏輯點解後面越講嗰個深度係十級跳嘅