Commit Graph

770 Commits

Author SHA1 Message Date
Libin Yang
8d1a81bd2f
Merge pull request #732 from markettes/patch-1
Efficiency
2019-05-10 15:20:12 +08:00
yanglbme
8f60321d86 docs: rename files 2019-05-10 10:25:19 +08:00
yanglbme
b1d4be7f86 docs: update AnyBaseToAnyBase and GenericTree 2019-05-09 20:20:44 +08:00
yanglbme
36dc276f29 docs: delete duplicate files 2019-05-09 19:43:06 +08:00
Libin Yang
db43a76f0b
Delete .gitignore___jb_tmp___ 2019-05-09 19:42:22 +08:00
yanglbme
d7e5ec4986 docs: update .gitignore 2019-05-09 19:40:28 +08:00
yanglbme
29948363da docs: update the whole repository
* fix some bugs
* delete duplicate files
* format code
2019-05-09 19:32:54 +08:00
Anup Kumar Panwar
163db8521a
Update README.md 2019-05-04 15:57:37 +05:30
Marcos
ed99f58d9b
Now it's OK! 2019-05-02 11:43:01 +02:00
Libin Yang
b0824d97d7
Merge pull request #739 from ashmichheda/master
Fix link & added link: readme.md
2019-04-21 10:16:00 +08:00
Libin Yang
cd2d187da8
Merge pull request #740 from bogdandv/master
Update LevenshteinDistance.java
2019-04-21 10:09:16 +08:00
bogdandv
86263090ff Update LevenshteinDistance.java 2019-04-20 21:58:35 +03:00
Ashmi Chheda
67a94b896b
update readme.md: Fixed & added links 2019-04-19 23:43:30 +05:30
Marcos
f8605b957a
Efficiency
Just two small things that in case the number was very big could be helpful.
2019-04-11 12:20:53 +02:00
Libin Yang
ffd4521601
Merge pull request #724 from BartoszDabek/master
fix: fix link in README
2019-03-24 14:30:54 +08:00
Bartosz Dąbek
676c5e7a62 fix: fix link in README 2019-03-24 06:42:17 +01:00
Libin Yang
45757c0165
Merge pull request #718 from PrathamGupta/patch-1
Updated DoublyLinkedList.java
2019-03-23 15:44:04 +08:00
Libin Yang
14974872fd
Update DoublyLinkedList.java 2019-03-23 15:43:38 +08:00
Libin Yang
cd60c39b76
Merge pull request #722 from Egoscio/patch-1 to fix #719
Made Matrix equality comparison deep.
2019-03-22 10:43:47 +08:00
Egoscio
10932ccab1
Comparing Matrix size before content size. 2019-03-21 14:33:14 -07:00
Egoscio
067e39dbf5
Made Matrix equality comparison deep.
Solution to the issue #719
2019-03-21 14:19:16 -07:00
yanglbme
5a934c17c4
Merge pull request #721 from pandeyarun709/MergeLinkedList
Add Merge K sorted LinkedList
2019-03-20 16:24:37 +08:00
yanglbme
4bc83966c3
Update Merge_K_SortedLinkedlist.java
format code
2019-03-20 16:24:11 +08:00
pandeyarun709
f3ef5b64ae Add Merge K sorted LinkedList 2019-03-20 13:24:23 +05:30
yanglbme
dbebab0cd0
Merge pull request #720 from pandeyarun709/TheAlgo
Add Roman To Integer conversion
2019-03-19 08:40:44 +08:00
yanglbme
971d5f75e9
Format code in RomanToInteger.java
* Format code
* Remove redundant code
2019-03-19 08:40:02 +08:00
pandeyarun709
c14af04b58 Add Roman To Integer conversion 2019-03-18 21:22:51 +05:30
Pratham Gupta
ece940b655
Updated DoublyLinkedList.java
Changes made in Insert and Delete functions.
2019-03-16 13:05:26 +05:30
yanglbme
53b2b69988
Merge pull request #713 from ojasiiitd/patch-2
Major Updates in SinglyLinkedList.java
2019-03-09 22:12:46 +08:00
Ojas Saxena
6c4fd0efb0
Major Updates in SinglyLinkedList.java
- The "count" variable made the code more prone to errors, so I removed and replaced it with another "getSize()" function. 
- The value of "next" was initialized to null.
- Major improvements of code were given to "insertNth()" and "deleteHead()" functions for efficiency.
- A new function "deleteNth()" was defined, increasing the usefulness of the program.
2019-03-06 15:35:04 +05:30
yanglbme
1d02cd4429
Merge pull request #711 from ojasiiitd/patch-1
Updated StackOfLinkedList.java
2019-03-05 10:18:51 +08:00
yanglbme
2ea534000b
Update StackOfLinkedList.java 2019-03-05 10:18:20 +08:00
Ojas Saxena
d60f836861
Updated StackOfLinkedList.java
I made the code shorter and less prone to mistakes by removing the "size" variable altogether from the LinkedList class. I found that after each push/pop operation, changing the value of size did make the code more efficient, but made it more prone to mistakes. So, for empty stack, a simple "head == null" was enough, which has been incorporated.
2019-03-04 15:05:15 +05:30
Libin Yang
dda712c0c7
Merge pull request #709 from HeikoAlexanderWeber/bug/708, fix #708
#708 (bugfix for fibonacci sequence function)
2019-02-27 09:30:45 +08:00
Heiko Alexander Weber
1031cfb35c #708 (bugfix for fibonacci sequence function)
o fixed function "fibMemo" according to acceptance criteria in #708
o fixed function "fibBotUp" according to acceptance criteria in #708
2019-02-26 23:10:20 +01:00
Libin Yang
2b3e82fd4c
Update Queues.java 2019-02-25 09:33:06 +08:00
Libin Yang
c725d91ecf
docs(DP): update LongestValidParentheses.java 2019-02-24 08:46:51 +08:00
Libin Yang
5ec25c1670
docs(DP): update RodCutting.java 2019-02-23 21:12:08 +08:00
Libin Yang
6ff87322e6
docs(DP): update EggDropping.java 2019-02-23 21:06:32 +08:00
Libin Yang
09d5cb01f3
docs(DP): update LevenshteinDistance.java 2019-02-23 21:03:57 +08:00
Libin Yang
e4a9d38ee3
Merge pull request #684 from dimgrichr/master
Addition of CRC
2019-02-17 20:57:14 +08:00
Libin Yang
d434e4a4f1
Update CRCAlgorithm.java 2019-02-17 20:56:47 +08:00
yanglbme
c516834ed6 docs(Others): update countwords.java and crc32.java
- By @yanglbme
2019-02-17 20:52:00 +08:00
Libin Yang
2ceb1aa907
Merge pull request #707 from hailK11/patch-1
Update PriorityQueues.java
2019-02-17 09:19:26 +08:00
Libin Yang
36d6b5133f
Update PriorityQueues.java 2019-02-17 09:18:50 +08:00
Akhil
b73757e4bb
Update PriorityQueues.java
Include condition to check if the queue is full when inserting values into the queue
2019-02-16 20:24:39 +05:30
yanglbme
46bbfaa0e8 fix: fix wrong heaps package and close #700
- Fix #700
2019-02-07 00:11:13 +08:00
yanglbme
8b92c3fdbe fix: remove unnecesary throw to fix #704
- Fix #704
- Thanks @lprone
2019-02-06 10:13:55 +08:00
yanglbme
bb670a2ceb fix: remove unnecesary assignation to fix #698
- Fix #698
- Thanks @lprone
2019-02-05 13:10:40 +08:00
yanglbme
f2f79821ac fix: remove unused imports to fix #699
- Fix #699
- Thanks @lprone
2019-02-05 13:03:37 +08:00