MCPcopy Create free account
hub / github.com/ccagml/leetcode-extension / get

Method get

resources/debug/entry/cpp/problems/common.cpp:213–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213int MountainArray::get(int index)
214{
215 if (index >= this->value.size())
216 {
217 return -1;
218 }
219 return this->value[index];
220}
221
222int MountainArray::length()
223{

Callers 15

getFidInfoMethod · 0.45
promptHintMessageFunction · 0.45
genFileExtFunction · 0.45
isHideSolvedProblemFunction · 0.45
isHideScoreProblemFunction · 0.45
getPickOneByRankRangeMinFunction · 0.45
getPickOneByRankRangeMaxFunction · 0.45
getWorkspaceFolderFunction · 0.45
getWorkspaceFolderListFunction · 0.45
getEditorShortcutsFunction · 0.45
isStarShortcutFunction · 0.45
isUseEndpointTranslationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected