800 Commits

Author SHA1 Message Date
067e39dbf5 Made Matrix equality comparison deep.
Solution to the issue #719
2019-03-21 14:19:16 -07:00
5a934c17c4 Merge pull request #721 from pandeyarun709/MergeLinkedList
Add Merge K sorted LinkedList
2019-03-20 16:24:37 +08:00
4bc83966c3 Update Merge_K_SortedLinkedlist.java
format code
2019-03-20 16:24:11 +08:00
f3ef5b64ae Add Merge K sorted LinkedList 2019-03-20 13:24:23 +05:30
dbebab0cd0 Merge pull request #720 from pandeyarun709/TheAlgo
Add Roman To Integer conversion
2019-03-19 08:40:44 +08:00
971d5f75e9 Format code in RomanToInteger.java
* Format code
* Remove redundant code
2019-03-19 08:40:02 +08:00
c14af04b58 Add Roman To Integer conversion 2019-03-18 21:22:51 +05:30
ece940b655 Updated DoublyLinkedList.java
Changes made in Insert and Delete functions.
2019-03-16 13:05:26 +05:30
53b2b69988 Merge pull request #713 from ojasiiitd/patch-2
Major Updates in SinglyLinkedList.java
2019-03-09 22:12:46 +08:00
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
1d02cd4429 Merge pull request #711 from ojasiiitd/patch-1
Updated StackOfLinkedList.java
2019-03-05 10:18:51 +08:00
2ea534000b Update StackOfLinkedList.java 2019-03-05 10:18:20 +08:00
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
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
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
2b3e82fd4c Update Queues.java 2019-02-25 09:33:06 +08:00
c725d91ecf docs(DP): update LongestValidParentheses.java 2019-02-24 08:46:51 +08:00
5ec25c1670 docs(DP): update RodCutting.java 2019-02-23 21:12:08 +08:00
6ff87322e6 docs(DP): update EggDropping.java 2019-02-23 21:06:32 +08:00
09d5cb01f3 docs(DP): update LevenshteinDistance.java 2019-02-23 21:03:57 +08:00
e4a9d38ee3 Merge pull request #684 from dimgrichr/master
Addition of CRC
2019-02-17 20:57:14 +08:00
d434e4a4f1 Update CRCAlgorithm.java 2019-02-17 20:56:47 +08:00
c516834ed6 docs(Others): update countwords.java and crc32.java
- By @yanglbme
2019-02-17 20:52:00 +08:00
2ceb1aa907 Merge pull request #707 from hailK11/patch-1
Update PriorityQueues.java
2019-02-17 09:19:26 +08:00
36d6b5133f Update PriorityQueues.java 2019-02-17 09:18:50 +08:00
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
46bbfaa0e8 fix: fix wrong heaps package and close #700
- Fix #700
2019-02-07 00:11:13 +08:00
8b92c3fdbe fix: remove unnecesary throw to fix #704
- Fix #704
- Thanks @lprone
2019-02-06 10:13:55 +08:00
bb670a2ceb fix: remove unnecesary assignation to fix #698
- Fix #698
- Thanks @lprone
2019-02-05 13:10:40 +08:00
f2f79821ac fix: remove unused imports to fix #699
- Fix #699
- Thanks @lprone
2019-02-05 13:03:37 +08:00
cbfa8875aa Update CSVFile.java to fix #705
- Fix wrong assignation
2019-02-04 16:18:12 +08:00
d5d6d459bd Merge pull request #702 from BekBOLOTov/master
Added Euler's totient Function
2019-02-04 11:27:56 +08:00
12215a11d3 Update EulersFunction.java 2019-02-04 11:27:42 +08:00
6351bf2efc Added Euler's totient Function 2019-02-03 20:48:44 +06:00
f869601a94 Merge pull request #701 from IvanKuzaev/patch-1
Update PalindromicPrime.java
2019-02-03 16:53:24 +08:00
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
46a384b4ba Merge pull request #696 from SaeedJinat/patch-2
Update README.md
2019-02-01 15:48:01 +08:00
2c38098a1c Update README.md
added Cursor Linked List to the table
2019-01-30 12:09:35 +02:00
842f63b697 Merge pull request #695 from SaeedJinat/patch-1
CursorLinkedList
2019-01-30 17:11:08 +08:00
d4f05e3af1 CursorLinkedList
added CursorLinkedList basic implementation
2019-01-30 03:14:57 +02:00
20cebce230 Merge pull request #693 from ulvimardaliyev/specific-position
modification for specific position of inserted values
2019-01-27 09:47:19 +08:00
f348e1832b Update SinglyLinkedList.java 2019-01-27 09:46:48 +08:00
b123975b56 added new field and modified some methods 2019-01-27 02:26:01 +04:00
6cc1414a2a docs(Others): rename GuassLegendre to fix #689
- Fix #689
- Thank you @SebastianOner
2019-01-23 14:03:30 +08:00
c94056ad97 Merge pull request #688 from LeonardoGalves/master
Correction of a RuntimeException Uncompilable source code
2019-01-18 10:17:55 +08:00
55b6ff5c18 Correction of a RuntimeException Uncompilable source code 2019-01-17 13:43:12 -02:00
31bf10f29f Cyclic Redundancy Check Algorithm
Implementation of a CRC algorithm, used in order to examine received messages/packets for any errors. This type of algorithms, is widely used in networks.
2019-01-15 14:32:01 +02:00
8bd630f4c5 Delete CRCAlgorithm.java 2019-01-15 14:28:47 +02:00
d4b6725699 Cyclic redundancy check Algorithm
Implementation of an CRC Algorithm, used in order to examine already received packets/messages.
2019-01-15 14:27:31 +02:00
571315df24 Merge pull request #683 from dimgrichr/master
Addition of the Skyline Algorithm
2019-01-15 19:55:26 +08:00