Commit Graph

110 Commits

Author SHA1 Message Date
Aditya Sharma
1b19028117 Update doubly_linked_list.py (#545) 2018-10-31 08:34:55 +01:00
Hrushikesh Hanbar
f1ec84af84 Update balanced_parentheses.py (#538) 2018-10-30 15:29:12 +01:00
Harshil
a84f7c073f Rename segment_tree to segment_tree.py 2018-10-27 13:38:23 +02:00
Harshil
e1d1f8513d
Delete binary_seach_tree.py
I forgot that we already have an implementation of Binary Search! So deleting this one!
2018-10-27 13:36:30 +02:00
Harshil
c787c13a71 Resolve conflicts 2018-10-27 13:29:53 +02:00
Alex Brown
ea2ddaaf6a all valid python 3 2018-10-20 14:45:08 -05:00
Alex Brown
91fccecb56 snake_case all the things 2018-10-19 17:14:25 -05:00
Alex Brown
564179a0ec increment 1 2018-10-19 07:48:28 -05:00
Alex Brown
718b99ae39 increment 1 2018-10-19 07:48:01 -05:00
Parth Shandilya
5d1f72604d
Improved Code and removed Warnings (#483) 2018-10-19 14:00:31 +05:30
Parth Shandilya
07451a6ca4
Improved Code and removed warnings (#482)
Improved Code and removed warnings
2018-10-19 13:28:21 +05:30
ParthS007
0856a61859 Remove Multiple Unused Imports and Variable 2018-10-18 02:58:57 +05:30
Harshil
63c7e8ede1
Minor update
Changed two characters which were the root cause of 'SyntaxError: Non-ASCII character '\xe2' in file main.py, but no encoding declared'
2018-10-04 11:34:50 +02:00
S-Sanyal
054b4b31f4 Made compatible for all versions of python 2018-10-03 21:52:30 +05:30
S-Sanyal
c74b2732d9 Updated 2018-10-03 21:37:46 +05:30
S-Sanyal
dc584f1658 Made the code Python 3 compatible 2018-10-03 20:13:34 +05:30
S-Sanyal
ccb25641ba Added Stock-Span-Problem 2018-10-02 14:57:37 +05:30
Anshul Malik
0d19edbcb3 refactor-segment-tree 2018-06-05 21:39:16 +05:30
Harshil
fc3bdb6e12
Merge pull request #274 from gabrielangelo/master
hash functions added
2018-03-21 09:09:32 +05:30
gabriel
1fa23f57d7 hash functions added 2018-03-20 20:48:58 -03:00
William Feng
c975cac371
function '__init__' miss a 'i'
__int__ should be __init__ i think?
2018-03-07 15:04:37 +08:00
Harshil
bae5762b09
Rename Arrays to Arrays.py 2018-03-02 11:16:49 +05:30
Harshil
7a428c1cdd
Update Arrays 2018-03-02 11:16:05 +05:30
Akshay Kumar
59c797eace
Update Arrays 2018-03-01 18:58:00 +05:30
Akshay Kumar
ce3036144b
Update Arrays
Array implementation
2018-02-15 21:56:51 +05:30
Harshil
00c13c29b9
Merge pull request #243 from cclauss/patch-1
Fix unresolved name: insert_tail()
2018-01-22 07:12:36 +05:30
cclauss
a88ad60365
Update singly_LinkedList.py 2018-01-21 08:59:55 +01:00
cclauss
d043448fd9
Fix unresolved name: insert_tail()
insert_tail(Head.next, data) --> Head.next.insert_tail(data)

Fixes: $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./data_structures/LinkedList/singly_LinkedList.py:14:13: F821 undefined name 'insert_tail'
            insert_tail(Head.next, data)
            ^
1     F821 undefined name 'insert_tail'
```

Also formats the code to be compliant with [PEP8](http://pep8.org).
2018-01-21 08:56:16 +01:00
cclauss
4ee0e620cb Modernize Python 2 code to get ready for Python 3 AGAIN 2018-01-21 08:25:19 +01:00
cclauss
3f6760ee15
noqa: F821 This syntax is Python 3 only 2018-01-20 12:35:12 +01:00
cclauss
b3873be7b5
noqa to silence flake8 on Python 3 only syntax 2018-01-20 12:31:12 +01:00
ashu01
06c7827a94 1. typo fix {Arrays| 2017-12-31 14:33:14 +05:30
ashu01
4fb978cf58 1. typo fix {playfair_cipher.py, AVL.py}
2. Corrected Logic {AVL.py, 104-107}
3. Removed unnecessary semicolons {BellmanFord.py, Dijkstra.py}
2017-12-31 14:30:31 +05:30
cclauss
e31c780d94 Modernize Python 2 code to get ready for Python 3 2017-11-25 12:41:55 +01:00
cclauss
4e06949072 Modernize Python 2 code to get ready for Python 3 2017-11-25 10:23:50 +01:00
Harshil
a03b2eafc0
Merge pull request #204 from erdenezul/even_tree_problem
add even tree problem
2017-11-15 19:10:05 +05:30
Harshil
4306482996
Merge pull request #161 from arpanjain97/master
Add shortest path algorithms
2017-11-03 16:05:02 +05:30
Erdenezul
e0733c26f2 add even tree problem 2017-11-03 15:02:10 +08:00
Pablo
9d8824658a Finished delete function and added some prints functions too 2017-10-28 18:33:14 -03:00
Pablo
f766bb4216 Added delete function 2017-10-28 16:18:21 -03:00
Pablo
54700f2c8f Added delete function 2017-10-28 16:17:55 -03:00
Harshil
07e8e25672 Merge pull request #190 from jyotsana19/master
Added Dequeue in Python
2017-10-26 11:31:09 +05:30
Harshil
8f3abf5ce6 Merge pull request #186 from gilbertoalexsantos/union-find
Created Union-Find algorithm
2017-10-26 11:30:58 +05:30
Harshil
55ebf703f8 Merge pull request #184 from pablo9891/master
Rename binary_search_tree and added a getNode function
2017-10-26 11:30:31 +05:30
Harshil
6bdf4fc2d1 Merge pull request #182 from tonydelanuez/patch-1
Adding reverse() to singly-linked list
2017-10-25 14:12:58 +05:30
97arushisharma
9bc80eac2d Added Dequeue in Python 2017-10-25 01:37:11 +05:30
Harshil
f07c8d517e Merge pull request #178 from SaBuZa/Lazy-Segment-Tree
Lazy Segment Tree
2017-10-24 11:27:40 +05:30
Harshil
f6696d0e65 Merge pull request #177 from SaBuZa/Segment-Tree
Add Segment tree
2017-10-24 11:27:32 +05:30
Harshil
3b69bfcb33 Merge pull request #176 from imcgeek/patch-1
Create Arrays
2017-10-24 11:27:17 +05:30
Gilberto Alexandre dos Santos
7180f08204 Created Union-Find algorithm 2017-10-23 22:41:46 -03:00