Left, Root, Right https://leetcode.com/problems/binary-tree-inorder-traversal/
class Solution:
def inorderTraversal(self, root: Optional[TreeNode]) -> List[int]:
stack = []
node = root
ans = []
while stack or node:
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
refreshenv | |
choco install googlechrome | |
choco install python3 | |
choco install vscode | |
choco install git | |
refreshenv | |
start chrome | |
start code | |
choco install telegram |
Left, Root, Right https://leetcode.com/problems/binary-tree-inorder-traversal/
class Solution:
def inorderTraversal(self, root: Optional[TreeNode]) -> List[int]:
stack = []
node = root
ans = []
while stack or node:
Well, if you scrap the bulk of the bible and everything else and look at the 10 commandments, you actually have something solid to work with. But lets take the religion out of it?
Don't worship false idols: people are people, things are things and they do not deserve to be put on a pedestal for being rich or famous etc. Don't be an asshole towards people. Take time to rest and reflect. Respect those that come before you - parents, grand parents, teachers and the like. Don't kill people. Don't take other people's belongings. Don't lie, especially about the actions of other people. Respect your partner, respect the relationships of other people.
php /path/to/composer.phar require hhvm/hhvm-autoload
https://docs.hhvm.com/hack/getting-started/starting-a-real-project