upd
This commit is contained in:
@@ -53,13 +53,13 @@ Only node 4 is a terminal node, and every path starting at node 4 leads to node
|
||||
Write your approach here.
|
||||
|
||||
** TODO Python
|
||||
#+begin_src python
|
||||
#+begin_src python :lc-problem 802 :lc-lang python3
|
||||
class Solution:
|
||||
def eventualSafeNodes(self, graph: List[List[int]]) -> List[int]:
|
||||
#+end_src
|
||||
|
||||
** TODO C++
|
||||
#+begin_src cpp
|
||||
#+begin_src cpp :lc-problem 802
|
||||
class Solution {
|
||||
public:
|
||||
vector<int> eventualSafeNodes(vector<vector<int>>& graph) {
|
||||
|
||||
Reference in New Issue
Block a user