Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Available

Melwin Amith D'Almeida melwinalm

:octocat:
Available
  • PwC
  • Bengaluru, India
View GitHub Profile
View russian_reasants_alorithm.py
def multiply(a,b):
if a > b:
left = a
right = b
else:
left = b
right = a
prod = 0
View Singly Linked List using Python
class Node(object):
def __init__(self):
self.data = None
self.next = None
def __init__(self,data,next):
self.data = data
self.next = next
def GetData(self):