Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
346 commits
Select commit Hold shift + click to select a range
2d383bf
Update Palindrome.java
yanglbme Dec 24, 2018
b9aacd4
Merge pull request #665 from jasonptong/patch-1
yanglbme Dec 24, 2018
4bbc39f
Move code for Stack Array from Stacks.java to StackArray.java
hayderhassan Jan 4, 2019
bbbf63c
Move code for Stack ArrayList from Stacks.java to StackArrayList.java
hayderhassan Jan 4, 2019
787a9fa
Update link to StackArray and StackArrayList classes
hayderhassan Jan 4, 2019
29b7ad4
Remove Stacks.java which has been replaced by two new files
hayderhassan Jan 4, 2019
fc64d05
Format code in StackArray
yanglbme Jan 6, 2019
7c33d2e
Update StackArrayList.java
yanglbme Jan 6, 2019
8d11e5b
Merge pull request #672 from hayderhassan/separate-stacks-class to fi…
yanglbme Jan 6, 2019
928a5fe
Add files via upload
dimgrichr Jan 9, 2019
a85b36d
Add files via upload
dimgrichr Jan 9, 2019
378f661
Update BinarySearch.java
gooama Jan 11, 2019
f88287e
Merge pull request #678 from guoxiaoxu/guoxiaoxu-patch-1
yanglbme Jan 12, 2019
21a7b9d
Update MergeSort.java
gooama Jan 12, 2019
8677246
Merge pull request #681 from guoxiaoxu/master
yanglbme Jan 13, 2019
d55d1e4
Delete SkylineAlgorithm.java
dimgrichr Jan 15, 2019
96ad920
Addition of the Skyline Algorithm
dimgrichr Jan 15, 2019
8f78a3f
Delete TaskCosts.java
dimgrichr Jan 15, 2019
0a37179
Update SkylineAlgorithm.java
yanglbme Jan 15, 2019
571315d
Merge pull request #683 from dimgrichr/master
yanglbme Jan 15, 2019
d4b6725
Cyclic redundancy check Algorithm
dimgrichr Jan 15, 2019
8bd630f
Delete CRCAlgorithm.java
dimgrichr Jan 15, 2019
31bf10f
Cyclic Redundancy Check Algorithm
dimgrichr Jan 15, 2019
55b6ff5
Correction of a RuntimeException Uncompilable source code
Jan 17, 2019
c94056a
Merge pull request #688 from LeonardoGalves/master
yanglbme Jan 18, 2019
6cc1414
docs(Others): rename GuassLegendre to fix #689
yanglbme Jan 23, 2019
b123975
added new field and modified some methods
ulvimardaliyev Jan 26, 2019
f348e18
Update SinglyLinkedList.java
yanglbme Jan 27, 2019
20cebce
Merge pull request #693 from ulvimardaliyev/specific-position
yanglbme Jan 27, 2019
d4f05e3
CursorLinkedList
SaeedJinat Jan 30, 2019
842f63b
Merge pull request #695 from SaeedJinat/patch-1
yanglbme Jan 30, 2019
2c38098
Update README.md
SaeedJinat Jan 30, 2019
46a384b
Merge pull request #696 from SaeedJinat/patch-2
yanglbme Feb 1, 2019
22e7f7f
Update PalindromicPrime.java
IvanKuzaev Feb 3, 2019
f869601
Merge pull request #701 from IvanKuzaev/patch-1
yanglbme Feb 3, 2019
6351bf2
Added Euler's totient Function
BekBOLOTov Feb 3, 2019
12215a1
Update EulersFunction.java
yanglbme Feb 4, 2019
d5d6d45
Merge pull request #702 from BekBOLOTov/master
yanglbme Feb 4, 2019
cbfa887
Update CSVFile.java to fix #705
yanglbme Feb 4, 2019
f2f7982
fix: remove unused imports to fix #699
yanglbme Feb 5, 2019
bb670a2
fix: remove unnecesary assignation to fix #698
yanglbme Feb 5, 2019
8b92c3f
fix: remove unnecesary throw to fix #704
yanglbme Feb 6, 2019
46bbfaa
fix: fix wrong heaps package and close #700
yanglbme Feb 6, 2019
b73757e
Update PriorityQueues.java
hailK11 Feb 16, 2019
36d6b51
Update PriorityQueues.java
yanglbme Feb 17, 2019
2ceb1aa
Merge pull request #707 from hailK11/patch-1
yanglbme Feb 17, 2019
c516834
docs(Others): update countwords.java and crc32.java
yanglbme Feb 17, 2019
d434e4a
Update CRCAlgorithm.java
yanglbme Feb 17, 2019
e4a9d38
Merge pull request #684 from dimgrichr/master
yanglbme Feb 17, 2019
09d5cb0
docs(DP): update LevenshteinDistance.java
yanglbme Feb 23, 2019
6ff8732
docs(DP): update EggDropping.java
yanglbme Feb 23, 2019
5ec25c1
docs(DP): update RodCutting.java
yanglbme Feb 23, 2019
c725d91
docs(DP): update LongestValidParentheses.java
yanglbme Feb 24, 2019
2b3e82f
Update Queues.java
yanglbme Feb 25, 2019
1031cfb
#708 (bugfix for fibonacci sequence function)
Feb 26, 2019
dda712c
Merge pull request #709 from HeikoAlexanderWeber/bug/708, fix #708
yanglbme Feb 27, 2019
d60f836
Updated StackOfLinkedList.java
ojasiiitd Mar 4, 2019
2ea5340
Update StackOfLinkedList.java
yanglbme Mar 5, 2019
1d02cd4
Merge pull request #711 from ojasiiitd/patch-1
yanglbme Mar 5, 2019
6c4fd0e
Major Updates in SinglyLinkedList.java
ojasiiitd Mar 6, 2019
53b2b69
Merge pull request #713 from ojasiiitd/patch-2
yanglbme Mar 9, 2019
ece940b
Updated DoublyLinkedList.java
PrathamGupta Mar 16, 2019
c14af04
Add Roman To Integer conversion
pandeyarun709 Mar 18, 2019
971d5f7
Format code in RomanToInteger.java
yanglbme Mar 19, 2019
dbebab0
Merge pull request #720 from pandeyarun709/TheAlgo
yanglbme Mar 19, 2019
f3ef5b6
Add Merge K sorted LinkedList
pandeyarun709 Mar 20, 2019
4bc8396
Update Merge_K_SortedLinkedlist.java
yanglbme Mar 20, 2019
5a934c1
Merge pull request #721 from pandeyarun709/MergeLinkedList
yanglbme Mar 20, 2019
067e39d
Made Matrix equality comparison deep.
Mar 21, 2019
10932cc
Comparing Matrix size before content size.
Mar 21, 2019
cd60c39
Merge pull request #722 from Egoscio/patch-1 to fix #719
yanglbme Mar 22, 2019
1497487
Update DoublyLinkedList.java
yanglbme Mar 23, 2019
45757c0
Merge pull request #718 from PrathamGupta/patch-1
yanglbme Mar 23, 2019
676c5e7
fix: fix link in README
BartoszDabek Mar 24, 2019
ffd4521
Merge pull request #724 from BartoszDabek/master
yanglbme Mar 24, 2019
f8605b9
Efficiency
markettes Apr 11, 2019
67a94b8
update readme.md: Fixed & added links
ashmichheda Apr 19, 2019
8626309
Update LevenshteinDistance.java
bogdandv Apr 20, 2019
cd2d187
Merge pull request #740 from bogdandv/master
yanglbme Apr 21, 2019
b0824d9
Merge pull request #739 from ashmichheda/master
yanglbme Apr 21, 2019
ed99f58
Now it's OK!
markettes May 2, 2019
163db85
Update README.md
AnupKumarPanwar May 4, 2019
2994836
docs: update the whole repository
yanglbme May 9, 2019
d7e5ec4
docs: update .gitignore
yanglbme May 9, 2019
db43a76
Delete .gitignore___jb_tmp___
yanglbme May 9, 2019
36dc276
docs: delete duplicate files
yanglbme May 9, 2019
b1d4be7
docs: update AnyBaseToAnyBase and GenericTree
yanglbme May 9, 2019
8f60321
docs: rename files
yanglbme May 10, 2019
8d1a81b
Merge pull request #732 from markettes/patch-1
yanglbme May 10, 2019
459434c
Update README.md
AnupKumarPanwar May 12, 2019
2dcabed
Update HexaDecimalToDecimal.java
ibahadiraltun May 21, 2019
3b70b8c
Merge pull request #764 from ibahadiraltun/patch-1
yanglbme May 22, 2019
bdb9acf
fix bugs in AES.java(#765)
yanglbme May 22, 2019
1ebe496
fix bugs in ReverseString(#765)
yanglbme May 22, 2019
a3e0cf8
fix bugs in MinimizingLateness(#765)
yanglbme May 22, 2019
12d2404
Update GenericArrayListQueue.java
daher928 May 27, 2019
b33c778
Merge pull request #770 from daher928/patch-1
yanglbme May 29, 2019
1dbbb23
Fix for Issue #771. position=size causes NPE
abhijay94 May 29, 2019
2b83b31
Merge branch 'master' into master
abhijay94 May 29, 2019
0d1110a
Merge pull request #772 from abhijay94/master
yanglbme May 29, 2019
7eb0785
Fix for Issue #773. Deleting an element that doesn't exist causes NPE
abhijaykumar May 30, 2019
9b78621
Revert "Fix for Issue #773. Deleting an element that doesn't exist ca…
abhijaykumar May 30, 2019
b6581ea
Fix for Issue #773. Deleting an element that doesn't exist causes NPE
abhijay94 May 30, 2019
990b88f
Merge pull request #774 from abhijay94/master
yanglbme May 30, 2019
d802790
Integer To Roman
xemjas Jun 15, 2019
df1949e
Merge pull request #779 from xemjas/master
AnupKumarPanwar Jun 20, 2019
ec91f0c
Rename GenericTree.Java to GenericTree.java
yanglbme Jun 20, 2019
c188fa9
Update IntegerToRoman.java
yanglbme Jun 20, 2019
63cf199
Create FUNDING.yml
AnupKumarPanwar Jul 6, 2019
7cd8552
Using randomize partition to avoid the basically ordered sequences
CN-GuoZiyang Jul 6, 2019
0821df8
Update QuickSort.java
CN-GuoZiyang Jul 6, 2019
2bf163d
Merge pull request #786 from CN-GuoZiyang/master
yanglbme Jul 6, 2019
1c3490d
Update BinaryToDecimal.java
pknotfound Jul 9, 2019
dc5ae2d
Update BinaryToDecimal.java
pknotfound Jul 10, 2019
acb40ef
Merge pull request #791 from Priyansh-Kedia/master
yanglbme Jul 10, 2019
48537fc
Fix binary to octal conversion
obelisk0114 Jul 16, 2019
efefefd
Merge pull request #793 from obelisk0114/patch
yanglbme Jul 16, 2019
706377f
Updated Dynamic Programming Links in Readme.md
Nikit-Singh Jul 25, 2019
4317c16
Merge pull request #798 from Nikit-Singh/patch-1
yanglbme Jul 26, 2019
b26e3d9
Updated Miscellaneous Links in README.md
obelisk0114 Jul 26, 2019
15f2ebd
Merge pull request #800 from obelisk0114/patch
yanglbme Jul 26, 2019
9751ac5
Added Maths Folder & Absolute Value Program
PatOnTheBack Aug 8, 2019
b882515
Update AbsoluteValue.java
yanglbme Aug 15, 2019
d6fda6f
Merge pull request #809 from PatOnTheBack/master
yanglbme Aug 15, 2019
0ac8847
Added gitpod.io badge to the README
nisarhassan12 Aug 21, 2019
86078cf
Updates README.md
nisarhassan12 Aug 21, 2019
f0ed936
Update README.md
nisarhassan12 Aug 21, 2019
9994a6a
Update README.md
nisarhassan12 Aug 21, 2019
6cc8076
Merge pull request #813 from nisarhassan12/master
yanglbme Aug 21, 2019
5c466be
Updates README.md
nisarhassan12 Aug 21, 2019
d5ef32a
Merge pull request #814 from nisarhassan12/master
yanglbme Aug 22, 2019
11864ca
docs: remove FUNDING.yml and use default file
yanglbme Aug 24, 2019
a4156fc
ignore non-alphanumeric
furahadamien Aug 28, 2019
4ddbaca
secondaryWordCount method added
furahadamien Aug 28, 2019
c5e32ea
Merge pull request #818 from furahadamien/wordCount
yanglbme Aug 28, 2019
df6e164
Fix StackArray.java resize()
yeongmo-j Sep 3, 2019
c70d799
Merge pull request #819 from yeongmo-j/master
yanglbme Sep 3, 2019
b98e8d9
reduce code
realDuYuanChao Sep 23, 2019
eb0c7bc
Merge pull request #859 from shellhub/master
yanglbme Sep 23, 2019
a19ece9
code readable
realDuYuanChao Sep 24, 2019
85e8a9e
Merge pull request #860 from shellhub/master
yanglbme Sep 24, 2019
37918aa
fix memory leak
realDuYuanChao Sep 24, 2019
87ed040
Merge pull request #861 from shellhub/master
yanglbme Sep 24, 2019
dff1b09
fix EmptyStackException
realDuYuanChao Sep 25, 2019
23ca716
Merge pull request #863 from shellhub/master
yanglbme Sep 25, 2019
ef767fc
optimization
realDuYuanChao Sep 25, 2019
9743e75
Update Knapsack.java
qwerty50000a Sep 25, 2019
2dce3bc
Merge pull request #865 from qwerty50000a/patch-1
yanglbme Sep 26, 2019
ee0a48f
Merge pull request #864 from shellhub/master
yanglbme Sep 26, 2019
8881e9a
make code more readable
realDuYuanChao Sep 26, 2019
f0bdd2b
Merge pull request #866 from shellhub/master
yanglbme Sep 26, 2019
947127c
make code less
realDuYuanChao Sep 26, 2019
42ca38b
Merge pull request #867 from shellhub/master
yanglbme Sep 28, 2019
971f22c
optimization
realDuYuanChao Sep 28, 2019
35e85bc
Merge pull request #895 from shellhub/master
yanglbme Sep 28, 2019
f6f5dac
add more
realDuYuanChao Sep 28, 2019
ff6b5c7
Merge pull request #898 from shellhub/master
yanglbme Sep 28, 2019
5043f89
Find max and min value by recursion
realDuYuanChao Sep 28, 2019
a47f796
Merge pull request #903 from shellhub/master
yanglbme Sep 28, 2019
cfc26a8
Update Queues.java
yanglbme Sep 28, 2019
20cd57c
init with DEFAULT_CAPACITY
realDuYuanChao Sep 28, 2019
5d77b08
Merge pull request #924 from shellhub/master
yanglbme Sep 29, 2019
2f62929
Correct the prime check algorithm
0Zeta Oct 1, 2019
b8b2938
Merge pull request #939 from 0Zeta/0zeta/prime-check-correction
yanglbme Oct 2, 2019
e3dfdf2
The code was very verbose.
ayush314 Oct 3, 2019
98c94e1
Merge pull request #954 from blast314/patch-3
yanglbme Oct 4, 2019
7446579
optimization
realDuYuanChao Oct 5, 2019
0f2f586
Merge pull request #950 from shellhub/master
yanglbme Oct 6, 2019
5e7dad9
Improved grammar and whitespace for prompts
Spikatrix Oct 6, 2019
9c880b5
Merge pull request #978 from Spikatrix/patch-1
yanglbme Oct 6, 2019
c51e2b6
update
realDuYuanChao Oct 6, 2019
ea7c4ec
Merge pull request #979 from shellhub/master
yanglbme Oct 7, 2019
0e7675a
mergeSortedArrayList
realDuYuanChao Oct 7, 2019
6209e59
Merge pull request #982 from shellhub/patch1
yanglbme Oct 7, 2019
257d813
Updated Readme
AnupKumarPanwar Oct 7, 2019
c68f4ca
AbsoluteMax and AbsoluteMin
realDuYuanChao Oct 7, 2019
53ee73f
Merge pull request #984 from shellhub/dev
yanglbme Oct 8, 2019
80d4331
Merge pull request #983 from AnupKumarPanwar/update-readme
yanglbme Oct 8, 2019
7eea1d6
Update README.md
yanglbme Oct 8, 2019
856dd06
update gcd
realDuYuanChao Oct 8, 2019
993f30b
Merge pull request #993 from shellhub/dev
yanglbme Oct 8, 2019
c698b43
toString
realDuYuanChao Oct 8, 2019
ccea4b5
optimization and fix bug
realDuYuanChao Oct 9, 2019
ed999c1
Merge pull request #997 from shellhub/patch-1
yanglbme Oct 9, 2019
5b185e8
Update Queues.java
yanglbme Oct 10, 2019
86d6a59
Merge pull request #995 from shellhub/master
yanglbme Oct 10, 2019
b0f81f1
Correction of iteration limit of fibOptimized
MatheusMuriel Oct 10, 2019
58eb2ec
PalindromeNumber
realDuYuanChao Oct 11, 2019
d609652
Merge pull request #1014 from shellhub/feature
yanglbme Oct 11, 2019
58b9f0b
perfect number
realDuYuanChao Oct 11, 2019
f6ca5e3
Merge pull request #1016 from shellhub/feature-1
yanglbme Oct 11, 2019
51f3606
Result print
salonilakhotia Oct 12, 2019
f575223
Size
salonilakhotia Oct 12, 2019
9fdb1c8
Merge pull request #1027 from salonilakhotia/master
yanglbme Oct 12, 2019
8ae6b4e
update BalancedBrackets
realDuYuanChao Oct 12, 2019
eec7f3e
Merge pull request #1029 from shellhub/dev
yanglbme Oct 13, 2019
14d67ff
clear list
realDuYuanChao Oct 15, 2019
6e8aaaa
Merge pull request #1054 from shellhub/feature
yanglbme Oct 16, 2019
a5997e8
update SinglyLinkedList
realDuYuanChao Oct 16, 2019
23d9eae
Merge pull request #1069 from shellhub/feature
yanglbme Oct 17, 2019
bb9e082
update StackOfLinkedList
realDuYuanChao Oct 18, 2019
91229b7
Merge pull request #1081 from shellhub/dev
yanglbme Oct 18, 2019
ffb3195
DecimalToAnyUsingStack
realDuYuanChao Oct 19, 2019
b0766bf
Merge pull request #1089 from shellhub/dev
yanglbme Oct 20, 2019
f1ad7a1
parseInteger
realDuYuanChao Oct 21, 2019
a60cb58
Merge pull request #1102 from shellhub/dev
yanglbme Oct 22, 2019
c63dbad
LinkedQueue
realDuYuanChao Oct 22, 2019
56e8872
add pow
realDuYuanChao Oct 23, 2019
6252b4e
Update FindMin.java
UntouchedOdin0 Oct 23, 2019
3a8ab82
Update CountWords.java
UntouchedOdin0 Oct 23, 2019
d11b734
using recursion
realDuYuanChao Oct 24, 2019
97cc89c
Merge pull request #1117 from shellhub/feature
yanglbme Oct 24, 2019
252364b
Merge pull request #1123 from UntouchedOdin0/patch-6
yanglbme Oct 24, 2019
a2eec02
Merge pull request #1122 from UntouchedOdin0/patch-1
yanglbme Oct 24, 2019
fce3d83
update LinkedQueue
realDuYuanChao Oct 24, 2019
c502da8
fix: update Fibonacci and close #1008
yanglbme Oct 24, 2019
5807f89
Merge branch 'master' into master
yanglbme Oct 24, 2019
6e401a5
Merge pull request #1009 from MatheusMuriel/master
yanglbme Oct 24, 2019
f786f3f
Merge pull request #1109 from shellhub/dev
yanglbme Oct 25, 2019
b54983f
upate SinglyLinkedList
realDuYuanChao Oct 25, 2019
9dfea67
added license to the repository.
Oct 25, 2019
66410c1
Merge pull request #1129 from walter-ind/add-license-1, close #1114
yanglbme Oct 25, 2019
f751dcf
Merge pull request #1128 from shellhub/dev
yanglbme Oct 27, 2019
28cb69e
update AnyBaseToDecimal
realDuYuanChao Oct 27, 2019
87fcd2c
make code readable
realDuYuanChao Oct 27, 2019
064a84f
statistics optimization
realDuYuanChao Oct 27, 2019
39a1bed
qwe
Ymqka Oct 27, 2019
32e4987
Merge pull request #1148 from Ymqka/master
yanglbme Oct 28, 2019
cbc1899
Merge pull request #1145 from shellhub/dev
yanglbme Oct 28, 2019
16a215e
add jump search algorithm
realDuYuanChao Oct 29, 2019
e141a33
FibonacciNumber
realDuYuanChao Oct 29, 2019
14ecd9c
Merge pull request #1157 from shellhub/dev-1
yanglbme Oct 30, 2019
d1a3ff1
Create CONTRIBUTING.md
hemantkadyan Oct 31, 2019
d73d6f5
Merge pull request #1155 from shellhub/dev
yanglbme Nov 3, 2019
8ce3dad
Merge pull request #1159 from hemantkadyan/master
yanglbme Nov 13, 2019
e08408c
fix: update FindMin and fix #1170
yanglbme Nov 19, 2019
3259944
Update BubbleSort.java
cganey Nov 23, 2019
9f76ad5
Update README.md
BryanChan777 Nov 23, 2019
862ac23
Merge pull request #1175 from BryanChan777/patch-1
yanglbme Dec 6, 2019
79d29c0
Comment revisions
Arogon1 Dec 11, 2019
b14cb96
Merge pull request #1182 from Arogon1/master
yanglbme Dec 11, 2019
d9c7b84
Merge pull request #1174 from cganey/BubbleSortLogic
yanglbme Dec 16, 2019
a6ae951
fix: removed warning for Sorts 'C-style array declaration of paramete…
valerydec17 Dec 30, 2019
01283e3
Merge pull request #1197 from valerydec17/master
yanglbme Dec 31, 2019
dc6f830
optimization
realDuYuanChao Jan 9, 2020
6f06de1
Create update_directory_md.yml
cclauss Jan 9, 2020
23874ff
updating DIRECTORY.md
Jan 9, 2020
fc4ec2c
Merge pull request #1201 from shellhub/dev
yanglbme Jan 10, 2020
0ff74ca
optimization
realDuYuanChao Jan 11, 2020
726aab9
Merge pull request #1202 from shellhub/dev
yanglbme Jan 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .classpath

This file was deleted.

69 changes: 69 additions & 0 deletions .github/workflows/update_directory_md.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# This GitHub Action updates the DIRECTORY.md file (if needed) when doing a git push
name: update_directory_md
on: [push]
jobs:
update_directory_md:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- shell: python # Legacy Python 2.7.15 :-(
run: import sys ; print("Python {}.{}.{}".format(*sys.version_info))
- shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}"
run: import sys ; print("Python {}.{}.{}".format(*sys.version_info))
- shell: bash -c "$RUNNER_TOOL_CACHE/Python/3.8.0/x64/python {0}"
run: |
import os
from typing import Iterator

URL_BASE = "https://github.com/TheAlgorithms/Java/blob/master"
g_output = []


def good_filepaths(top_dir: str = ".") -> Iterator[str]:
for dirpath, dirnames, filenames in os.walk(top_dir):
dirnames[:] = [d for d in dirnames if d[0] not in "._"]
for filename in filenames:
if os.path.splitext(filename)[1].lower() == ".java":
yield os.path.join(dirpath, filename).lstrip("./")


def md_prefix(i):
return f"{i * ' '}*" if i else "\n##"


def print_path(old_path: str, new_path: str) -> str:
global g_output
old_parts = old_path.split(os.sep)
for i, new_part in enumerate(new_path.split(os.sep)):
if i + 1 > len(old_parts) or old_parts[i] != new_part:
if new_part:
g_output.append(f"{md_prefix(i)} {new_part.replace('_', ' ')}")
return new_path


def build_directory_md(top_dir: str = ".") -> str:
global g_output
old_path = ""
for filepath in sorted(good_filepaths(), key=str.lower):
filepath, filename = os.path.split(filepath)
if filepath != old_path:
old_path = print_path(old_path, filepath)
indent = (filepath.count(os.sep) + 1) if filepath else 0
url = "/".join((URL_BASE, filepath, filename)).replace(" ", "%20")
filename = os.path.splitext(filename.replace("_", " "))[0]
g_output.append(f"{md_prefix(indent)} [{filename}]({url})")
return "\n".join(g_output)


with open("DIRECTORY.md", "w") as out_file:
out_file.write(build_directory_md(".") + "\n")

- name: Update DIRECTORY.md
run: |
cat DIRECTORY.md
git config --global user.name github-actions
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git add DIRECTORY.md
git commit -am "updating DIRECTORY.md" || true
git push --force origin HEAD:$GITHUB_REF || true
39 changes: 38 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,38 @@
/bin/
/gradle/wrapper/gradle-wrapper.properties
##----------Android----------
# build
*.apk
*.ap_
*.dex
*.class
bin/
gen/
build/
out/

# gradle
.gradle/
gradle-app.setting
!gradle-wrapper.jar
build/

local.properties

##----------idea----------
*.iml
.idea/
*.ipr
*.iws

# Android Studio Navigation editor temp files
.navigation/

##----------Other----------
# osx
*~
.DS_Store
gradle.properties

.vscode

*.log
17 changes: 0 additions & 17 deletions .project

This file was deleted.

2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Contribution Guidelines
Read our [Contribution Guidelines](CONTRIBUTING.md) before you contribute.
211 changes: 0 additions & 211 deletions ClosestPair/ClosestPair.java

This file was deleted.

12 changes: 0 additions & 12 deletions ClosestPair/closest_data.txt

This file was deleted.

Binary file removed Compression/bin/HEncoder$Node$Nodecomparator.class
Binary file not shown.
Binary file removed Compression/bin/HEncoder$Node.class
Binary file not shown.
Binary file removed Compression/bin/HEncoder.class
Binary file not shown.
Binary file removed Compression/bin/compressclient.class
Binary file not shown.
Binary file removed Compression/bin/genericheap.class
Binary file not shown.
Loading