This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# The MIT License (MIT) | |
# Copyright (c) 2014 Aleksandar Topuzović <aleksandar.topuzovic@gmail.com> | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# (c) Aleksandar Topuzovic <aleksandar.topuzovic@gmail.com> | |
from functools import partial | |
from collections import deque | |
class node(object): | |
'''Simple nodee''' | |
def __init__(self, value, left=None, right=None): | |
self.value = value | |
self.left = left |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am atopuzov on github. | |
* I am atopuzov (https://keybase.io/atopuzov) on keybase. | |
* I have a public key whose fingerprint is 0CB0 0F1B 4AAD C52D 58E4 E0FB 8D7C DD3C 5621 80B7 | |
To claim this, I am signing this object: |
NewerOlder