摘要:
难度 1400 题目 Codeforces: B. Two Buttons time limit per test 2 seconds memory limit per test Vasya has found a strange device. On the front panel of a de 阅读全文
摘要:
难度 中等 题目 Leetcode: You are given an array of positive integers w where w[i] describes the weight of ith index (0-indexed). We need to call the functio 阅读全文
摘要:
难度 1400 题目 Codeforces: C. Given Length and Sum of Digits... time limit per test 1 second memory limit per test 256 megabytes You have a positive integ 阅读全文
摘要:
难度 题目 Codeforces: B. Scenes From a Memory time limit per test 1 second memory limit per test 256 megabytes During the hypnosis session, Nicholas sudde 阅读全文
摘要:
难度 中等 题目 Leetcode: All Paths From Source to Target Given a directed acyclic graph (DAG) of n nodes labeled from 0 to n - 1, find all possible paths fr 阅读全文
摘要:
难度 中等 题目 Leetcode: You are playing a simplified PAC-MAN game on an infinite 2-D grid. You start at the point [0, 0], and you are given a destination p 阅读全文
摘要:
难度 1300 题目 Leetcode: D. Make a Power of Two time limit per test 1 second memory limit per test 256 megabytes You are given an integer nn. In 11 move, 阅读全文
摘要:
难度 困难 题目 Leetcode: An attendance record for a student can be represented as a string where each character signifies whether the student was absent, la 阅读全文