MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / get_problem_id

Function get_problem_id

src/query.py:13–18  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

11 print("4 leetcode tag [tree|dynamic-programming|...] [easy|medium|hard] 显示tag指定难度所有题目")
12
13def get_problem_id(data):
14 id = data['data']['question']['questionId']
15 fid = data['data']['question']['questionFrontendId']
16 if util.is_int(fid):
17 id = fid
18 return id
19
20def check_leetcode_tags():
21 print("--------------tags begin-------------")

Callers 1

check_leetcode_tagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected