← Back to Directory

Grayswan AI

Small

Gray Swan AI is a startup focused on AI safety and security, developing tools to identify vulnerabilities and safeguard AI systems against adversarial attacks. It is known for its red-teaming platform and automated safety evaluations designed to make AI models more robust and trustworthy.

1 interview note · updated Jul 2026

Grayswan AI·Software Engineer·Technical Phone Screen

Jun 2026
Grayswan AI software engineer interview that went pretty deep on JavaScript utility functions. The leading-edge debounce question was a follow-up to an earlier trailing variant, so they were clearly building on each other intentionally.
  • Implement a leading-edge debounce where the function fires immediately on the first call and is then suppressed until a specified wait period passes with no further calls. Also discuss time and space complexity for both leading and trailing variants, and explain when you'd choose one over the other.

“The implementation part was fine, I'd done trailing debounce before so flipping the logic wasn't too bad.”

View Post