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
Shruti Sheoran
7e0ddb3fda
Add Median Of Running Array
2018-10-11 11:25:26 +05:30
Chetan Kaushik
7320201a44
Merge pull request #142 from manmeet-22/patch-5
...
Palindromic Primes
2018-02-02 09:29:12 +05:30
unknown
58e1bca4e8
Modified Data Misc folder .java file name and class name
2017-12-17 01:20:22 +09:00
Anup Kumar Panwar
191eaae5c5
Merge pull request #153 from gagndeepp/patch-2
...
Simple Heap Sorting Technique Using Java #96
2017-11-09 16:33:25 +05:30
Varun Upadhyay
eed6f33976
Removed the Misc directory and moved the files to other
2017-11-05 10:17:19 -08:00
DESKTOP-0VAEMFL\joaom
c850d793bb
Fixed Merge changes
2017-10-28 13:05:43 +01:00
DESKTOP-0VAEMFL\joaom
20d0bb2c69
Merge branch 'master' of https://github.com/freitzzz/Java
...
# Conflicts:
# Data Structures/HashMap/HashMap.java
# Huffman.java
# Misc/FloydTriangle.java
# Misc/Huffman.java
# Misc/InsertDeleteInArray.java
# Misc/RootPrecision.java
# Misc/ft.java
# Misc/root_precision.java
# Others/FloydTriangle.java
# Others/Huffman.java
# Others/insert_delete_in_array.java
# Others/root_precision.java
# insert_delete_in_array.java
2017-10-28 12:59:58 +01:00
DESKTOP-0VAEMFL\joaom
467b917416
Improved files and folders name conventions and moved lost files to Misc folder
2017-10-28 12:58:07 +01:00
Gagan
135af7065a
Fixed the Filename.
...
Cheers!!
2017-10-25 18:35:23 +05:30
Varun Upadhyay
e53249ba23
Synced the directory structure to that of Python repo
2017-10-13 06:57:26 -07:00
Tobias
f6c322249f
Add Linear Congruential Generator
2017-10-10 20:26:06 -07:00
Varun Upadhyay
5f2492832a
Merge pull request #121 from manmeet-22/patch-3
...
Postfix Notation using Stack
2017-10-10 11:11:01 -07:00
Gagan
d0b3bfa3f6
Simple Heap Sorting Technique Using Java
...
Heap sort is a comparison based sorting technique based on Binary Heap data structure
2017-10-05 10:21:24 +05:30
Manmeet Singh
19d311e993
Create Palindromic Prime
2017-10-04 00:22:54 +05:30
Manmeet Singh
ae3342fb50
Added Extension
2017-10-03 16:51:42 +05:30
Chetan Kaushik
3d42e003ac
Merge pull request #120 from nimit17/ReturnSubsequences
...
Algorithm to Return Subsequences
2017-10-03 14:51:45 +05:30
Chetan Kaushik
d1475f1c5b
Merge pull request #127 from dpacmen/patch-2
...
add precision_root_algorithm
2017-10-03 14:48:57 +05:30
Chetan Kaushik
4d6e69dec6
Merge pull request #126 from dpacmen/patch-1
...
add FibToN
2017-10-03 14:48:35 +05:30
Chetan Kaushik
dfe5943f57
Merge pull request #130 from Pusty/master
...
Added crc32 implementation
2017-10-03 14:48:13 +05:30
Chetan Kaushik
ae7edb4c08
Merge pull request #135 from OskarEn/master
...
Create GCD.java
2017-10-03 14:47:19 +05:30
Oskar Enmalm
edde956625
Create GCD.java
2017-10-03 10:02:42 +02:00
Deepak
9b4ae39291
updated
...
added comments and changed variable names for better understanding
2017-10-03 13:25:06 +05:30
Deepak
32d03516fe
update
...
added comments and variable names are more simpler now
2017-10-03 13:12:50 +05:30
Balance-Breaker
79e2eb2826
Removed unrequired Package
2017-10-03 12:38:23 +05:30
Deepak
0afa2da3ce
rename
...
.java extension added
2017-10-03 08:32:14 +05:30
Deepak
b7a9d0de44
rename
2017-10-03 08:28:04 +05:30
Pusty
db7300f191
fixed a small mistake
2017-10-03 04:27:09 +02:00
Pusty
f2bfa6a1be
crc32 implementation
2017-10-03 03:57:28 +02:00
Chetan Kaushik
7df4e980c4
Merge pull request #124 from lvncnt/master
...
add KMP algorithm; improve binary search
2017-10-03 00:05:27 +05:30
Chetan Kaushik
ae1982e3ac
Merge pull request #106 from OskarEn/master
...
Create Abecedarian.java
2017-10-02 23:58:42 +05:30
Deepak
355d4c1fee
added precision_root_algo
2017-10-02 13:00:39 +05:30
Deepak
12b86774ad
add FibToN
...
print all fibonacci till N in O(n)
2017-10-02 12:53:43 +05:30
feng liu
79a73aebb4
KMP algorithm
2017-10-01 17:45:16 -06:00
Manmeet Singh
e7f35ab8df
Postfix Notation using Stack
...
Note- Give input in the form like "1 21 + 45 13 + *"
#96
2017-10-02 00:42:20 +05:30
Nimit Arora
84b2b8ad94
Added Algorithm to Return Subsequences
2017-10-01 23:31:01 +05:30
Anup Kumar Panwar
8b29c6ca1d
Merge pull request #115 from RollandMichael7/patch-2
...
Update LowestBasePalindrome.java
2017-10-01 14:09:28 +05:30
Anup Kumar Panwar
8f086c0b69
Merge pull request #116 from manmeet-22/patch-1
...
Tower of Hanoi using Recursion
2017-10-01 14:09:09 +05:30
Nimit Arora
727769c06f
Added algorithm to reverse a stack using recursion
2017-10-01 12:45:13 +05:30
Nimit Arora
dad4c69c98
Added algorithm to reverse a stack using recursion
2017-10-01 12:39:38 +05:30
Manmeet Singh
1e99c48d4a
Tower of Hanoi using Recursion
2017-10-01 00:17:23 +05:30
Michael Rolland
2d300b340a
Update LowestBasePalindrome.java
...
Very, very minor documentation edit
2017-09-29 14:32:47 -04:00
Michael Rolland
658ed90553
Create LowestBasePalindrome.java
...
Algorithm for determining the lowest base in which a given integer is a palindrome.
NOTE: Has room for error, see note at line 63.
2017-09-28 21:32:55 -04:00
Oskar Enmalm
3eddef9e72
Update Abecedarian.java
...
Removed unnecessary println and compacted it
2017-09-29 01:04:24 +02:00
Oskar Enmalm
e416be63bb
Create Abecedarian.java
2017-09-29 00:49:28 +02:00
Joseph M Pignataro
07d5d9ea6d
Create Node.java
...
A node class to be used for the binary tree sorting algorithm. I will put up the sorting algorithm ASAP.
2017-08-21 13:35:38 -04:00
CalebConner13
fdc48cbc20
Updated syntax / whitespace
2017-08-02 14:10:09 -04:00
earngpi
6d3c8464c4
create Palindrome.java
2017-07-16 22:14:29 +07:00
KylerSmith
ae7aba0b44
File clean-up
2017-07-09 16:29:00 -07:00