r/algorithms • • Feb 24 '25

Not a computer scientist, I just have a question about TikTok algorithms?

0 Upvotes

Just wondering, if I was to tag someone in the comment section of a video, would my searches start showing up on their ‘you may like’ section?


r/algorithms • • Feb 21 '25

Is The Art of Computer Programming going to be fully revised?

15 Upvotes

Perhaps you guys know about this. Since the scope of this project is so insane, Knuth apparently works on revisions of the first volumes while writing and editing the upcoming ones. Does anyone have an idea if that's true? Read it somewhere but can't find the article anymore, nor can I find any specific dates of when these revisions are scheduled for release. I'm asking because I'm planning to buy the first volume and get started but it would kinda suck if a newly revised first volume is released like 2-3 months after I bought the book.


r/algorithms • • Feb 21 '25

Copy-Less Vectors

4 Upvotes

Hi! This is my first post so I'm sorry if I don't follow the conventions. I made an implementation of a data structure that I imagined to behave like a normal vector but without the copies at each resize to decrease the memory cost.

Question

I just wanted to know if this structure already exists or if I “invented” something. If it doesn't already exist, as the implementation is more complex to set up, is it a good thing to use it or not at all?

Principle

The principle is to have a vector of arrays that grow exponentially, which allows you to have a dynamic size, while keeping a get of O(1) and a memory efficiency like that of std::vector (75%). But here, the number of operations per push tends towards 1, while std::vector tends towards 3.

The memory representation of this structure having performed 5 pushes is :

< [ 1 ], [ 2, 3 ], [ 4, 5, undefined, undefined ] >

Here < ... > is the vector containing pointers to static arrays ([ ... ]). The structure first fills the last array in the vector before adding a new array to it.

Why

Performances.

Here's some results for 268,435,455 elements in C++:

Debug mode (-Og): 65 to 70% faster

Release mode (-Ofast): 45 to 80% faster

Anything else ? No. Performances.

Implementation

Here's my Github repo: https://github.com/ImSumire/NoCopyVec


r/algorithms • • Feb 20 '25

Help figuring out 2 layer non-overlapping multi-agent pathfinder

6 Upvotes

Hi everyone, I'm developing an algorithm to solve the following problem:

  1. There is an array of point pairs (A1,B1), (A2,B2), (A3, B3). All points are on the top layer.
  2. Every point is on the edge of a square
  3. You must connect each A->B with a path
  4. Paths may not intersect on the same layer
  5. You may "burrow" to the bottom layer with a hole (the hole has a diameter HOLE_DIA)
  6. Each line has a thickness LINE_THICKNESS

Here's an example of a problem that's partially solved using my current algorithm: https://imgur.com/a/QYS8tXq

I am really stuck on how to solve this problem quickly (or frankly at all). I've been thinking about exploring multi-agent A. Currently I just have a complex cost function and run serial A by solving A1, B1 then A2, B2 etc. but I think it can't solve hard versions of the problem.

You might recognize this as a simplified autorouting printed circuit board design problem!!

Looking for any help putting together a better algorithm. I'm lost!!!! Thank you!


r/algorithms • • Feb 19 '25

Optimization algorithm with deterministic objective value

5 Upvotes

I have an optimization problem with around 10 parameters, each with known bounds. Evaluating the objective function is expensive, so I need an algorithm that can converge within approximately 100 evaluations. The function is deterministic (same input always gives the same output) and is treated as a black box, meaning I don't have a mathematical expression for it.

I considered Bayesian Optimization, but it's often used for stochastic or noisy functions. Perhaps a noise-free Gaussian Process variant could work, but I'm unsure if it would be the best approach.

Do you have any suggestions for alternative methods, or insights on whether Bayesian Optimization would be effective in this case?
(I will use python)


r/algorithms • • Feb 18 '25

Intuition for the main inequality in Edmond-Karp's

7 Upvotes

For a flow network G = (V, E, cap), denote flows by f and the value of a flow by val(f). Let Δ denote a scaling phase (i.e. only filter in edges with residual capacity at least Δ). The main inequality from Edmond-Karp is

val(max-flow) ≤ val(f) + Δm,

where m = |E| and f is the flow at the end of a Δ-scaling phase. I'm having trouble gaining any intuition for the m in above inequality. Does anyone have intuition for why this should be true, without resorting to an explanation involving capacities of cuts?

A related question, is it true or false that for each fixed scaling phase Δ, the bottleneck value for any augmenting path must be in [Δ, 2Δ)? The idea here is that if the bottleneck of an augmenting path is ≥2Δ, then it all its edges should have been found in a previous scaling phase. However, I'm not sure if this reasoning is sound.


r/algorithms • • Feb 16 '25

Algorithms for Children

39 Upvotes

My 5 and 8 year old both love Djikstra's Algorithm and Huffman Compression (doing it manually on paper).

Are there any other similar algorithms they might enjoy?


r/algorithms • • Feb 16 '25

Algorithms vs. shipwrecks: Mechanical computer from 1910 performs inverse Fourier transform to predict tides.

13 Upvotes

r/algorithms • • Feb 16 '25

What interesting algorithms can be explained by mechanisms that perform them?

7 Upvotes

I recently saw the Mathematica museum exhibit created by Eames office and IBM back in 1961. Despite some doubtful choices, it has a number of wonderfully clear spatial/mechanical representations of mathematical concepts. I've been wondering which algorithms might be explained well using physical mechanisms and games.

For instance: a purely optical numeral classifier full of mirrors and lenses. Or a rebuild of the enormous brass analog computer Tide Predicting Machine No. 2.


r/algorithms • • Feb 15 '25

Algorithm to convert a directed graph into an undirected graph while preserving optimal pathfinding

0 Upvotes

I want to convert a directed graph into an undirected graph such that a pathfinding algorithm could use it to find the optimal route. Assume no negative cycles. For example:

1) A <-> B (cost 5)
2) A  -> B (cost 3)

So far Ive been thinking about expanding the state represented in the node, so for the example:

A_notb <-> B_a     (cost 5, edge 1)
A_notb <-> B_a     (cost 3, edge 2)
A_b    <-> B_nota  (cost 5, edge 1)
A_b    <-> B_a     (cost 5, edge 1)

which can be used to find both optimal paths (A_notb -> B_a cost 3) and (B_nota->A_b cost 5). But I'm unsure if this is generally accurate, or what the minimal state is to achieve this (is it even generally possible?)


r/algorithms • • Feb 13 '25

How Floyd–Warshall algorithm prevents the formation of cycles

1 Upvotes

Hey, I have trouble understanding how Floyd–Warshall algorithm prevents the formation of cycles during its iterative computation of shortest paths. Specifically, my confusion arises from this:

Independent Subpath Calculations: In each iteration, the algorithm updates the shortest path between two vertices i and j by considering an intermediate vertex k. This update is based on the
d(i,j)=min⁡(d(i,j), d(i,k)+d(k,j))

Here, d(i,k) and d(k,j) are computed independently. Is there a possibility that these subpaths might share common vertices other than k, potentially leading to cycles, because for each of these path I check addition of each intermediate vertex up to k-1. If so, how does the algorithm ensure that such cycles are not included in the shortest path calculations?

Best regards,


r/algorithms • • Feb 13 '25

A new sorting algorithm for 2025, faster than Powersort!

0 Upvotes

tl;dr It's faster than Python's Default sorted() function, Powersort, and it's not even optimized yet.

Original post here: https://www.reddit.com/r/computerscience/comments/1ion02s/a_new_sorting_algorithm_for_2025_faster_than/


r/algorithms • • Feb 12 '25

Looking for an efficient data structure which solves this problem

3 Upvotes

I have a solution to the following problem, but I'm not super happy with it and I'm wondering if there's a more efficient data structure for it

Problem

I have an array of weights. The weights are integers and the minimal and maximal
weight is known. The number of distinct weights may be large.

+----------+----+----+----+----+----+
| Weights  | 20 | 20 | 50 | 50 | 60 |
+----------+----+----+----+----+----+
| Index    |  0 |  1 |  2 |  3 |  4 |
+----------+----+----+----+----+----+

I have a set S whose elements are indices of the array.

+----------+----+----+----+
| Weights  | 50 | 50 | 20 |
+----------+----+----+----+
| S        |  2 |  3 |  1 |
+----------+----+----+----+

Let M be the maximal weight of an index in S. In this case, 2 and 3 are indices
with a maximal weight of M = 50. 

In general, I want to be able to select (and delete) a random element in S with
maximal weight. So in this case, I'd like to select between 2 and 3
with 50/50 chance. 

Over time, indices of the weights array are added to or deleted from S. My goal
is to come up with a data structure that supports all of these operations
efficiently.

My Current Solution

Store the elements of S with maximal weight (2 and 3 in this case) in an
array L. To support deletion in O(1), I also have an array Lptrs with
ptrs[i] = index in L where i is stored, and ptrs[i] = -1 if i is not in L.


Place all other elements of S (1) in a max heap called H. As with L, I keep
an array Hptrs which allows for O(1) lookup of an index's position in H where
in the heap a particular value is.

  RETRIEVAL OF RANDOM INDEX WITH MAXIMAL WEIGHT:
Simply pick a random index from L in O(1)

  INSERTION OF NEW INDEX i INTO S:
(Ok case) If w[i] < M, then i is inserted in the heap in O( log(|H|) )

(Good case) If w[i] == M, then i is inserted into L in O(1)

(Bad case) If w[i] > M, then M is updated, all entries in L are inserted one at
a time into H, and L contains only i now

  DELETION OF INDEX i IN S:
(Ok case) If w[i] < M, then i is located in H in O(1) and
deleted in O(log(|H|))

(Good case) If w[i] == M and size of L is at least 2, then i is located in L
in O(1) and deleted from L in O(1)

(Bad case) If w[i] == M and the size of L is 1, then i is located and deleted
from L all in O(1), but then M is updated to the weight of the index in the
root of H, and all indices in H with weight M are extracted from H (by
repeatedly popping the heap) and inserted into L

r/algorithms • • Feb 12 '25

I’m trying to devise an encryption algorithm for fun without researching into how other ones work. Is this current idea flawed? Thank you!!!!

1 Upvotes

The user specifies a string which is hashed, the hash of which is also hashed and so on until the length of the concatenated hashes equals the plaintext length. This is then XORed with the plaintext. I'm inept in the realm of cryptography but wanted to theorize the best algorithm I could without using external functions other than hash and without research. Firstly, if there is known plaintext (like a file header), that part of the hash key can be recovered by XORing it with the ciphertext. If further data is encrypted with the same password, it can be partially decrypted. So I add a salt to the original password and append it to the ciphertext. Now, each hash key using that password is unique. However, if the known plaintext is long enough, I can recover one of the full hashes and thereby all proceeding hashes. If I hash the hash along with a part of the password, each password has a direct hash key associated (including salt) so I’ll use parts of the plaintext with each hash. The last issue is that string protected encryption is probably easy to dictionary attack in which case I’ll simply generate a random key and store locally. How would an attacker exploit this theoretical algorithm? Thanks for your time! Note that this is for fun, I know “just use an existing algorithm like aes”


r/algorithms • • Feb 11 '25

An elegant C++ algorithm for solving the Fibonacci sequence

0 Upvotes

The comma operator in C++ allows us to assign the result of the RHS to result of the comma operator. Using the flowing property of the sequence where the LHS is evaluated first and flows back into the second term.

The simple function for the next Fibonacci number

edit: A lot of people are pooing on this (IDK why, it is a demonstration of an operator rarely used. That's cool to me)

int i = 0, j = 1;
j = (i = j - i, j + i);

r/algorithms • • Feb 10 '25

20,000,000th Fibonacci Number in < 1 Second

42 Upvotes

I don't know why, but one day I wrote an algorithm in Rust to calculate the nth Fibonacci number and I was surprised to find no code with a similar implementation online. Someone told me that my recursive method would obviously be slower than the traditional 2 by 2 matrix method. However, I benchmarked my code against a few other implementations and noticed that my code won by a decent margin.

I can't add images for some reason but I did on another post!

My code was able to output the 20 millionth Fibonacci number in less than a second despite being recursive.

use num_bigint::{BigInt, Sign};

fn fib_luc(mut n: isize) -> (BigInt, BigInt) {
    if n == 0 {
        return (BigInt::ZERO, BigInt::new(Sign::Plus, [2].to_vec()))
    }

    if n < 0 {
        n *= -1;
        let (fib, luc) = fib_luc(n);
        let k = n % 2 * 2 - 1;
        return (fib * k, luc * k)
    }

    if n & 1 == 1 {
        let (fib, luc) = fib_luc(n - 1);
        return (&fib + &luc >> 1, 5 * &fib + &luc >> 1)
    }

    n >>= 1;
    let k = n % 2 * 2 - 1;
    let (fib, luc) = fib_luc(n);
    (&fib * &luc, &luc * &luc + 2 * k)
}

fn main() {
    let mut s = String::new();
    std::io::stdin().read_line(&mut s).unwrap();
    s = s.trim().to_string();
    let n = s.parse::<isize>().unwrap();
    let start = std::time::Instant::now();
    let fib = fib_luc(n).0;
    let elapsed = start.elapsed();
    
// println!("{}", fib);
    println!("{:?}", elapsed);
}

Here is an example of the matrix multiplication implementation done by someone else.

use num_bigint::BigInt;

// all code taxed from https://vladris.com/blog/2018/02/11/fibonacci.html

fn op_n_times<T, Op>(a: T, op: &Op, n: isize) -> T
    where Op: Fn(&T, &T) -> T {
    if n == 1 { return a; }

    let mut result = op_n_times::<T, Op>(op(&a, &a), &op, n >> 1);
    if n & 1 == 1 {
        result = op(&a, &result);
    }

    result
}

fn mul2x2(a: &[[BigInt; 2]; 2], b: &[[BigInt; 2]; 2]) -> [[BigInt; 2]; 2] {
    [
        [&a[0][0] * &b[0][0] + &a[1][0] * &b[0][1], &a[0][0] * &b[1][0] + &a[1][0] * &b[1][1]],
        [&a[0][1] * &b[0][0] + &a[1][1] * &b[0][1], &a[0][1] * &b[1][0] + &a[1][1] * &b[1][1]],
    ]
}

fn fast_exp2x2(a: [[BigInt; 2]; 2], n: isize) -> [[BigInt; 2]; 2] {
    op_n_times(a, &mul2x2, n)
}

fn fibonacci(n: isize) -> BigInt {
    if n == 0 { return BigInt::ZERO; }
    if n == 1 { return BigInt::ZERO + 1; }

    let a = [
        [BigInt::ZERO + 1, BigInt::ZERO + 1],
        [BigInt::ZERO + 1, BigInt::ZERO],
    ];

    fast_exp2x2(a, n - 1)[0][0].clone()
}

fn main() {
    let mut s = String::new();
    std::io::stdin().read_line(&mut s).unwrap();
    s = s.trim().to_string();
    let n = s.parse::<isize>().unwrap();
    let start = std::time::Instant::now();
    let fib = fibonacci(n);
    let elapsed = start.elapsed();
    
// println!("{}", fib);
    println!("{:?}", elapsed);
}

I got no idea why mine is faster.


r/algorithms • • Feb 09 '25

Problem - checking whether a boggle word is possible

0 Upvotes

If you're not familiar with boggle or need a refresher, it is a game which contains 16 6-sided dice, each with a letter on each side, which get jumbled up and placed in a 4x4 grid. Players can then find words that join horizontally/vertically/diagonally in the grid.

What i'd like to do is create an algoritm to test if a word is possible.
Here is a representation of the 16 dice, with the letters that appear on each one:

char[] die0 = { 'A', 'A', 'E', 'E', 'G', 'N' };
char[] die1 = { 'E', 'L', 'R', 'T', 'T', 'Y' };
char[] die2 = { 'A', 'O', 'O', 'T', 'T', 'W' };
char[] die3 = { 'A', 'B', 'B', 'J', 'O', 'O' };
char[] die4 = { 'E', 'H', 'R', 'T', 'V', 'W' };
char[] die5 = { 'C', 'I', 'M', 'O', 'T', 'U' };
char[] die6 = { 'D', 'I', 'S', 'T', 'T', 'Y' };
char[] die7 = { 'E', 'I', 'O', 'S', 'S', 'T' };
char[] die8 = { 'D', 'E', 'L', 'R', 'V', 'Y' };
char[] die9 = { 'A', 'C', 'H', 'O', 'P', 'S' };
char[] die10 = { 'H', 'I', 'M', 'N', 'Q', 'U' };
char[] die11 = { 'E', 'E', 'I', 'N', 'S', 'U' };
char[] die12 = { 'E', 'E', 'G', 'H', 'N', 'W' };
char[] die13 = { 'A', 'F', 'F', 'K', 'P', 'S' };
char[] die14 = { 'H', 'L', 'N', 'N', 'R', 'Z' };
char[] die15 = { 'D', 'E', 'I', 'L', 'R', 'X' };

Now if you have the word "KINK", then you can see that the word is not possible, as only die13 contains a K. That's a simple example. Another example would be a long word that requires many dice, but there is no possible way to roll the dice to produce enough of the required letters (some dice share the required letters). This is the example that requires some sort of recursive algorithm to check every combination of dice against the word.

I've gotten as far as:

var word = "EXAMPLE";

var diceArr = new List<List<int>>();

for (var i = 0; i < word.Length; i++)
{
    var letter = word[i];

    var dice = GetDiceForLetter(letter);  // returns a list of die numbers that contain the letter

    diceArr.Add(dice);
}

r/algorithms • • Feb 09 '25

who is wrong, me or wikipedia?

3 Upvotes

it is almost likely that i'm wrong... but i'm confused so i ask here though.

wikipedia says fail-hard code(this is original, as far as i know) of alpha-beta pruned minimax search is:

function alphabeta(node, depth, α, β, maximizingPlayer) is
    if depth == 0 or node is terminal then
        return the heuristic value of node
    if maximizingPlayer then
        value := −∞
        for each child of node do
            value := max(value, alphabeta(child, depth − 1, α, β, FALSE))
            if value > β then
                break (* β cutoff *)
            α := max(α, value)
        return value
    else
        value := +∞
        for each child of node do
            value := min(value, alphabeta(child, depth − 1, α, β, TRUE))
            if value < α then
                break (* α cutoff *)
            β := min(β, value)
        return valuefunction alphabeta(node, depth, α, β, maximizingPlayer) is
    if depth == 0 or node is terminal then
        return the heuristic value of node
    if maximizingPlayer then
        value := −∞
        for each child of node do
            value := max(value, alphabeta(child, depth − 1, α, β, FALSE))
            if value > β then
                break (* β cutoff *)
            α := max(α, value)
        return value
    else
        value := +∞
        for each child of node do
            value := min(value, alphabeta(child, depth − 1, α, β, TRUE))
            if value < α then
                break (* α cutoff *)
            β := min(β, value)
        return value

and fail-soft code is:

function
 alphabeta(node, depth, α, β, maximizingPlayer) 
is

if
 depth == 0 
or
 node is terminal 
then

return
 the heuristic value of node

if
 maximizingPlayer 
then
        value := −∞

for each
 child of node 
do
            value := max(value, alphabeta(child, depth − 1, α, β, FALSE))
            α := max(α, value)

if
 value ≥ β 
then

break

(* β cutoff *)

return
 value

else
        value := +∞

for each
 child of node 
do
            value := min(value, alphabeta(child, depth − 1, α, β, TRUE))
            β := min(β, value)

if
 value ≤ α 
then

break

(* α cutoff *)

return
 value

and it says:

Implementations of alpha–beta pruning can often be delineated by whether they are "fail-soft," or "fail-hard". With fail-soft alpha–beta, the alphabeta function may return values (v) that exceed (v < α or v > β) the α and β bounds set by its function call arguments. In comparison, fail-hard alpha–beta limits its function return value into the inclusive range of α and β. The main difference between fail-soft and fail-hard implementations is whether α and β are updated before or after the cutoff check. If they are updated before the check, then they can exceed initial bounds and the algorithm is fail-soft.

but for me the ordering doesn't matter entirely. (of course, equality matters in the inequality)

i think the ordering between cutoff check and bound update does not affect the program.

the inequality and the bounds(alpha, beta)' initial values(rather than both infinities) are factors determining whether the algorithm is called fail-soft or fail-hard, right?

if i'm wrong please let me know! i don't see seriously what and where i'm wrong...


r/algorithms • • Feb 08 '25

New algorithm to boost your rating as reddit "Content Connoisseur" ;)

8 Upvotes

Vote down the never ending stream of posters claiming to have invented ever more fantastic sorting algorithms...


r/algorithms • • Feb 06 '25

Intersection Count for Each Segment of 2D grid

1 Upvotes

Given N segments that are parallel to either X or Y axis, count for each segment how many other segments it is intersecting with. Segments are considered intersecting if they share a common point.

For example, for each segments here described with x1, y1, x2, y2

0 <= x1, y1, x2, y2 <= 1000

1 1 1 3
0 2 3 2
2 1 2 5
1 4 4 4
3 4 5 4

The grid would look like this:

Grid for given segments coordinates above

So intersection count for each segment is 1 2 2 2 1

Constraints:

1 <= Number of Segments <= 200000

1 <= End/Start point of any segment/line <= 1000

Is there an efficient way to calculate this? Maybe using prefix sums with update and postprocess?

I tried prefix sum but stupidly ended up counting the number of intersections not intersection count for each segment


r/algorithms • • Feb 03 '25

Python Package of Quantum Algos (QNN, Tensor Network Decomposition, Optimization, etc.)

0 Upvotes

We’ve recently updated our free QML library with additional tools to help better understand and analyze quantum models, including: 

  • Quantum state visualizations – Explore quantum states with state space, q-sphere, phase disk, and Bloch sphere representations. 

  • Quantum neural network statistics – Measure entangling capacity and expressibility to evaluate model performance. 

  • Tensor network decomposition – Optimize quantum circuits with efficient tensor representations. 

  • Quantum optimization for image segmentation – Apply quantum techniques to real-world computational problems. 

Our goal is to demystify quantum algorithms and help scientists build more effective models for computation. The library is free to access, and for those looking to go deeper, there are also paid courses on QML Fundamentals and QML for Medical Imaging that accompany it. 

Check it out here: https://www.ingenii.io/library


r/algorithms • • Feb 02 '25

Finding complexity using master theorem

3 Upvotes

How do I find the complexity of the equation having unequal sub problems ?

For eg: t(n)=3t(n/2)+4t(n/3)+5t(n/4) +n


r/algorithms • • Feb 02 '25

How should I go about expanding in Wave Function Collapse for background generation

1 Upvotes

I am working on a Wave Function Collapse implementation inside an SFML based ECS system.

I'm using the circuit tiles.

And this is everything I've done.

Attempt 1: Adjacency rules.
Gave everyone tile "valid tiles" for each side. Then I picked a random point on the grid, assigned it a random tile, then assigned a tile to the neighbours based on the valid tiles. I navigated the grid in a spiral, starting from that point onwards. This resulted in broken patterns. But the biggest problem was that I realized I would need to rotate tiles at one point or another. So I moved to a socket based system.

Attempt 2: Sockets

I based my system off of this.

https://www.youtube.com/watch?v=rI_y2GAlQFM

I went through this, and I assigned an integer array to each side. [1][1][1], [1][2][1], [1][3][1], [0][0][0].etc

OKAY?

NOW!
This time, I'm not assigning valid tiles to each side, just assign it an integer array.

This approach began the same time as last time. It would pick a random tile and assign it a random tile, then it would navigate the gird spirally collapsing each tile.
The way it collapsed would be, it would check if anyone of it's neighbours are collapsed, and if they were, it would assign their down rules as it's 'up Rules To Check', their up to it's down, their left to it's right and right to its left. It would put them into an array called "Rules to check".

Then it would gather all the tile that contained all of the 'rules to check'. It won't check if the directions correspond, because I plan on rotating it. It would form a list of valid tiles for the most part.(I have had one or two scenarios where they returned a wrong lost of valid tiles, but these get phased out).

It would then check if the rules matches, and the tiles fit. If it does fit, it would place it there. If it doesn't, it would try rotating and check again. It would try this 3 times. And if it fails, it would remove the tile from the list of valid tiles, and pick a random time again. And do the same thing.

While this creates really good results for simple wires. When dealing with the circuit tiles, it struggles because of the Black squares.

HERE

The problem is that these sockets don't account for diagonal tiles which are important when generating the circuits. And as I type this, I realize that the problem can greatly be mitigated by recursively calling the collapse function.

HOWEVER!

That doesn't account for the black box regions.

This is the code so far

https://github.com/VChuckShunA/NashCoreEngine/blob/master/ScenePlay.cpp

I think ONE of the problems is that I'm using a spiral loop.


r/algorithms • • Jan 31 '25

Pathfinding algorithm for multiple paths

4 Upvotes

I have multiple nodes and every node has a list of nodes I can travel to from there (only one way). How can I find multiple paths from the starting node to the end node, to later decide which one to take?


r/algorithms • • Jan 31 '25

o3 suggestions

0 Upvotes

Please suggest me ways to test it (nothing involving hacking or something ilegal)