Carlos Mata
← Back to Work

Algo Solver

Search space optimization engine

Year2023
/
RoleAlgorithm Engineer
/
StatusShipped
/
Duration2 weeks
C++AlgorithmsPerformanceAI

Context

A computational engine designed to solve the 'Numbers and Letters' combinatorics puzzle. It navigates vast search spaces to find exact solutions in milliseconds.

Problem

  • The search space for combinations grows exponentially.
  • Brute force solutions are computationally too expensive for real-time use.
  • Need to prioritize 'natural' mathematical solutions over complex ones.

Approach

  • Implemented a Breadth-First Search (BFS) algorithm to guarantee finding the shortest solution path.
  • Optimized data structures to minimize memory tracking of visited states.
  • Applied pruning heuristics to discard non-viable branches early.

Outcome

  • Solves complex permutation problems in under 10ms.
  • Clean, modular C++ implementation of standard graph algorithms.
  • Demonstrable efficiency improvement over recursive brute-force methods.

Highlights

Graph TheoryBFSSearch Optimization

Links