Commit Graph

806 Commits

Author SHA1 Message Date
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
Libin Yang
cbfa8875aa
Update CSVFile.java to fix #705
- Fix wrong assignation
2019-02-04 16:18:12 +08:00
Libin Yang
d5d6d459bd
Merge pull request #702 from BekBOLOTov/master
Added Euler's totient Function
2019-02-04 11:27:56 +08:00
Libin Yang
12215a11d3
Update EulersFunction.java 2019-02-04 11:27:42 +08:00
Bolot Bekbolotov
6351bf2efc Added Euler's totient Function 2019-02-03 20:48:44 +06:00
Libin Yang
f869601a94
Merge pull request #701 from IvanKuzaev/patch-1
Update PalindromicPrime.java
2019-02-03 16:53:24 +08:00
Ivan Kuzaev
22e7f7f147
Update PalindromicPrime.java
Method prime(num) uses only odd numbers from 3 to square root of num as divisors.
In method functioning(y) we iterate over odd numbers as all even numbers (except of 2) are not prime.
In method functioning(y) we check at first if the number is palindrome and then if it's prime, so we don't have to call the heavy prime() method for every number.
The speed of searching palindromic primes is significantly increased.
2019-02-03 08:50:02 +03:00
Libin Yang
46a384b4ba
Merge pull request #696 from SaeedJinat/patch-2
Update README.md
2019-02-01 15:48:01 +08:00
saeed jinat
2c38098a1c
Update README.md
added Cursor Linked List to the table
2019-01-30 12:09:35 +02:00
Libin Yang
842f63b697
Merge pull request #695 from SaeedJinat/patch-1
CursorLinkedList
2019-01-30 17:11:08 +08:00
saeed jinat
d4f05e3af1
CursorLinkedList
added CursorLinkedList basic implementation
2019-01-30 03:14:57 +02:00
Libin Yang
20cebce230
Merge pull request #693 from ulvimardaliyev/specific-position
modification for specific position of inserted values
2019-01-27 09:47:19 +08:00
Libin Yang
f348e1832b
Update SinglyLinkedList.java 2019-01-27 09:46:48 +08:00
ulvi
b123975b56 added new field and modified some methods 2019-01-27 02:26:01 +04:00
yanglbme
6cc1414a2a docs(Others): rename GuassLegendre to fix #689
- Fix #689
- Thank you @SebastianOner
2019-01-23 14:03:30 +08:00