# Calvin Leng > Software Engineer @ Science Corp Location: San Jose, California, United States Profile: https://flows.cv/calvinleng ## Work Experience ### Software Engineer @ Science Jan 2025 – Present | Alameda, California, United States ### Software Engineer @ Howard Hughes Medical Institute (HHMI) Jan 2024 – Jan 2025 | Stanford, California, United States Developed electrophysiological algorithms—specifically online spike sorting—in C++/CUDA for researchers at the Moore Lab, Stanford University, focusing on low-level performance optimizations to enable real-time processing of high-volume neural data. Adapted Kilosort4 for online operation—processing only local recording information to support streamed data—with implementations in both C++/CUDA and Python. Implemented additional research-pipeline components, including inter-device networking and machine-learning techniques for decoding visual stimuli from neural activity. Built an experimental pipeline integrating Dorna Robotics hardware: leverage Dorna’s API to orchestrate precise, time-sensitive robotic-arm movements and combine computer-vision methods for autonomous object manipulation. ### Software Developer - AI trainer @ DataAnnotation Jan 2024 – Jan 2024 Analyzed and provided user interactions for large language models (LLMs) on various software engineering topics to improve the effectiveness of end-user interactions with AI. ### Private Tutor @ Unknown Jan 2023 – Jan 2024 Privately tutored upwards of 10 students in various math and computer science topics, including introductory C++/Python/Java, cryptography, and generative AI. ### Teaching Assistant (CSCI 270: Introduction to Algorithms and the Theory of Computing) @ University of Southern California Jan 2022 – Jan 2023 | Los Angeles, California, United States Planned and held weekly discussion sections, which involves preparing material for a 2-hour lecture on the week’s topic and practice problems for upwards of 100 students. Led tasks such as homework and test grading, midterm and final review sessions, and office hours twice a week. ### Graduate Researcher, Associate Professor David Kempe @ University of Southern California Jan 2019 – Jan 2023 | Greater Los Angeles Area Preprint: https://arxiv.org/pdf/2303.06488.pdf Derived a QPTAS (quasi-polynomial time algorithm) and showed that the usual binary search algorithm is a 4-approximation for a novel variant of the binary search problem extended to general graphs with distance-dependent costs. Generalization encapsulates problems such as contextual search, posted-price auctions, and various other online problems. Topics include online algorithms, contextual search, graph search, graph theory, approximation algorithms. ### Undergraduate Researcher, Assistant Professor Chaim Even-Zohar @ University of California, Davis Jan 2019 – Jan 2019 | Davis, CA Publication: https://arxiv.org/abs/1911.01414 Improved time complexity of counting the number of 4-pattern occurrences for “most” occurrences in permutations of size n from ~O(n^2) to ~O(n). As a corollary, we improve the time complexity of computing the Bersma-Dassios statistic—a non-parametric independence test—in time ~O(n), improving on the previous best ~O(n^2) time algorithm. Implemented algorithms associated with the above results, including algorithms for counting the number of occurrences of any given 4-pattern, and an improved computation of the Bergsma-Dassios statistic. Published and presented results at the Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA), a leading theoretical computer science conference. Topics include permutation patterns, combinatorics, algorithms, and non-parametric statistics. ### Software Development Engineer Intern @ Amazon Lab126 Jan 2018 – Jan 2018 | Sunnyvale, CA Implemented backend services for the Amazon FireTV Recast in C++, enabling users to connect the device to ONVIF-compliant security cameras, record footage directly into the device’s local storage, and play back recordings. Additionally, developed frontend code in Java, facilitating user interaction with these services. Researched commercial detection algorithms by surveying dozens of research papers on the topic. Wrote a survey paper on the topic for internal use. ### Undergraduate Researcher, Assistant Professor Christopher O’Neill @ University of California, Davis Jan 2017 – Jan 2018 | Davis, CA Publication: https://arxiv.org/abs/1809.09915 Proved that the number of numerical semigroups of a certain type grows quasi-polynomialy, improving results on the behavior of random numerical semigroups. Implemented algorithm for counting the number of aforementioned numerical semigroups. Results published in the Journal of Integer Sequences, 2019. Wrote Senior Thesis on my results, satisfying the requirements to graduate with Highest Honors (Summa Cum Laude). Presented research at UC Davis’ 29th Undergraduate Research Conference. Topics include numerical semigroups, combinatorics, and algorithms. ### Undergraduate Researcher, Professor Bruno Nachtergaele @ University of California, Davis Jan 2017 – Jan 2017 | Davis, CA Learned the functional analysis to prove Lieb-Robinson bounds---bounds on information propagation in quantum spin systems. Wrote manuscript reproving the Lieb-Robinson bounds and detailing our REU's undergraduate research group's attempts at refining the bounds. Wrote MATLAB simulation of the time evolution of a quantum spin system on a 1D lattice. ### Learning Assistant @ University of California, Davis Jan 2016 – Jan 2016 | Davis, CA Assisted a TA in leading a Calculus discussion course. ### Tutor @ Kumon North America, Inc. Jan 2014 – Jan 2015 | Sunnyvale, CA ## Education ### Master's degree in Computer Science University of Southern California ### Bachelor of Science - BS in Mathematics, Computer Science (Minor) University of California, Davis ## Contact & Social - LinkedIn: https://linkedin.com/in/calvin-leng --- Source: https://flows.cv/calvinleng JSON Resume: https://flows.cv/calvinleng/resume.json Last updated: 2026-04-11