Skip to content

Instantly share code, notes, and snippets.

View GEEGABYTE1's full-sized avatar
🍵
Drinking Passionfruit and Hibiscus Tea

Jaival Patel GEEGABYTE1

🍵
Drinking Passionfruit and Hibiscus Tea
View GitHub Profile
@GEEGABYTE1
GEEGABYTE1 / dfs.py
Created July 21, 2021 03:03
Max-Depth Solution
from tree import TreeNode
def dfs(root_node, goal, path=(), layers_lst=[], root=None):
if root == None:
root = root_node
path = path + (root_node,)
current_level_lst=[]
for i in path:
if not i.value in current_level_lst:
@john-science
john-science / nuclear_engineering_reading.md
Last active July 16, 2024 13:46
A Reading List for Nuclear Engineering

A Nuclear Engineering Reading List

Good Places to Start

The MIT Nuclear Engineering Ciriculum