MCPcopy Create free account
hub / github.com/algorithm004-01/algorithm004-01 / put

Method put

Week 07/id_006/LeetCode_146_006.java:103–120  ·  view source on GitHub ↗

判断链表是否达到capacity大小,达到了则删除最后一个节点之后,放入新节点 @param key @param value

(int key, int value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getMethod · 0.95

Calls 6

getMethod · 0.65
putMethod · 0.65
containsKeyMethod · 0.45
removeMethod · 0.45
addFirstMethod · 0.45
removeLastMethod · 0.45

Tested by

no test coverage detected