2
0
mirror of https://github.com/0xAX/go-algorithms synced 2024-11-16 00:12:53 +00:00
Commit Graph

83 Commits

Author SHA1 Message Date
decanus
aa7200a1f1
using intsaresorted 2020-02-16 18:03:44 +01:00
decanus
ddaf7f7c38
sortition type definition + benchmarks and tests 2020-02-16 17:30:36 +01:00
0xAX
9f095a1fbe
Merge pull request #20 from ansilh/master
Added time package and removed tmp variable from bubble sort
2019-05-13 13:37:15 +06:00
Ansil H
7a3ac77866 Added time package
Removed temporary variable from bubble sort
2019-05-13 00:23:24 +05:30
0xAX
b0b9d126f1
Merge pull request #18 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
2019-03-08 14:56:16 +06:00
0xAX
5840a8e776
Merge pull request #17 from wlwanpan/binary_tree_min_max
Add min and max for binary tree
2019-03-08 14:55:48 +06:00
0xAX
1e218215e8
Merge pull request #16 from gowthamgts/patch-1
Really randomising things
2019-03-08 14:55:34 +06:00
CodeLingo Bot
fd089e9887 Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-02-18 22:36:21 +00:00
wlwanpan
16fdc8debc Add min and max for binary tree 2018-10-31 21:28:08 -07:00
Gowtham Gopalakrishnan
f333f2f6e6
Really randomising things
Ref: [https://stackoverflow.com/questions/39529364/go-rand-intn-same-number-value](https://stackoverflow.com/questions/39529364/go-rand-intn-same-number-value)
2018-10-29 17:41:33 +05:30
0xAX
cc26ad7dce
Merge pull request #14 from abrarShariar/master
Added implementations for factorial, fibonacci, linear search and jump search
2018-08-13 20:45:54 +06:00
abrarShariar
8b8ac1388e updated README 2018-07-13 02:54:09 +06:00
abrarShariar
acfb85d359 fibonacci 2018-07-13 02:51:26 +06:00
abrarShariar
2f4f321c22 factorial 2018-07-13 02:37:07 +06:00
abrarShariar
a8171e48d4 updated README 2018-07-13 02:22:28 +06:00
abrarShariar
38b23e8839 jump search 2018-07-13 02:17:33 +06:00
abrarShariar
5a6c4166a8 linear search 2018-07-13 01:42:26 +06:00
0xAX
741916f31c
Merge pull request #12 from srksumanth/sumanth
Improve loop syntax and format code
2018-03-26 20:31:37 +02:00
0xAX
875d6977b1
Merge pull request #13 from srksumanth/comb-sort
Improve code and update shrink factor
2018-03-26 20:31:22 +02:00
srksumanth
c3d332be68 Improve code and change shrink factor 2018-03-01 16:50:49 +05:30
srksumanth
5c41ed1d14 Improve loop syntax and format code 2018-03-01 13:37:08 +05:30
0xAX
8a8ce96014
Merge pull request #11 from srksumanth/work
Improve Bubble sort & Insertion sort
2018-01-24 18:29:43 +01:00
srksumanth
28fc34ce16 simplify insertion sort 2018-01-24 18:13:58 +05:30
srksumanth
17585bda6f remove extra iteration 2018-01-24 15:10:41 +05:30
0xAX
39643a9dd4
Merge pull request #10 from jubnzv/master
Make insertion_sort.go a bit easier
2018-01-06 14:39:33 +01:00
Georgy Komarov
bc53a37b35 Make insertion_sort.go a bit easier 2018-01-06 14:29:55 +03:00
0xAX
916c027ac9
Merge pull request #9 from gregogalante/patch-1
Fixed prev link for items
2017-12-15 19:10:22 +01:00
Gregorio Galante
be6879dec9
Fixed prev link for items
Changed the order of updates of pointers for new items of the list to make Prev() function works property.
2017-12-15 18:58:36 +01:00
0xAX
9e9b987737 Merge pull request #7 from tural-esger/master
sorg.go to sort.go
2017-06-26 13:27:52 +06:00
tural-esger
211d8fe63f Merge pull request #1 from tural-esger/Tural
Rename insertion_sorg.go to insertion_sort.go
2017-06-26 02:50:40 +04:00
tural-esger
4702368f8f Rename insertion_sorg.go to insertion_sort.go 2017-06-26 02:49:34 +04:00
Alexander Kuleshov
cb32031436 add insertion sort 2017-06-01 00:02:12 +06:00
Alexander Kuleshov
2deb4ba69a
reimplement queue based on pointers 2017-03-08 00:21:07 +06:00
Alexander Kuleshov
248647cbff
rewrite stack with pointers 2017-02-21 00:35:56 +06:00
Alexander Kuleshov
0f22fe5c1b
update README.md 2017-02-21 00:35:45 +06:00
Alexander Kuleshov
307fadc6e2
go fmt for stack 2017-02-20 17:18:03 +06:00
0xAX
a4d6be93c7 Merge pull request #6 from StevenMaude/tidy-readme
Make small fixes to README
2016-09-04 15:57:43 +03:00
Steven Maude
7b03408f90 Make small fixes to README
Fix some small typos.
2016-09-04 00:00:26 +01:00
Alexander Kuleshov
a9723dfb97 update Stack.add 2016-03-29 00:39:40 +06:00
Alexander Kuleshov
0e2f7d78e6 move collections outside of collections 2016-03-29 00:36:48 +06:00
Alexander Kuleshov
8848089e4b move gcd to numerical 2016-03-29 00:34:09 +06:00
0xAX
3a1d5c9dfc Update utils.go 2015-12-26 18:34:44 +06:00
0xAX
827384fefd Update README.md 2015-03-06 20:20:24 +06:00
0xAX
7e09140a8f Merge pull request #4 from xyproto/comments
Adding comments and more output
2015-02-24 23:31:29 +06:00
Alexander F Rødseth
213fe88680 Adding comments and more output 2015-02-24 17:23:56 +01:00
0xAX
db40d86169 unused import removed 2014-08-13 00:08:36 +06:00
0xAX
8803407669 README.md updated 2014-08-13 00:08:02 +06:00
0xAX
192c15d936 binary search 2014-08-13 00:07:03 +06:00
0xAX
f7794af38d indentation fixed 2014-08-12 23:35:29 +06:00
0xAX
34210e7815 indentation fixed 2014-08-12 23:35:02 +06:00