Skip to content

Commit 1539125

Browse files
committed
Add Wikipedia reference to BSGS algorithm Javadoc
1 parent 91845a5 commit 1539125

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/thealgorithms/maths/DiscreteLogarithmBSGS.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
* <p>
1414
* Time complexity: O(√m)
1515
* Space complexity: O(√m)
16-
*/
16+
* @see <a href="https://en.wikipedia.org/wiki/Baby-step_giant-step">Baby-step giant-step algorithm</a>
17+
*/
1718
public class DiscreteLogarithmBSGS {
1819

1920
/**

0 commit comments

Comments
 (0)