>RunTimeFix
BookStudyPracticeInterviewsYouTubeCoursesAbout
Log inGet Started
Practice/Matrix Exponentiation & FFT
2 subtopics · 5 problems

Matrix Exponentiation & FFT

Matrix power for linear recurrences and FFT/NTT for polynomial multiplication.

01Matrix Exponentiation

Compute n-th term of a linear recurrence in O(k³ log n).

3 hard
ProblemDifficultyLink
185APlanthardSolve
166ETetrahedronhardSolve
718CSasha and ArrayhardSolve

02FFT / NTT

Multiply polynomials in O(n log n) — convolutions, counting.

2 hard
ProblemDifficultyLink
632EThief in a ShophardSolve
993ENikita and Order StatisticshardSolve
All TopicsStudy the Theory
Was this helpful?
>RunTimeFix

Practical programming education. Books, videos, courses, and hands-on learning for competitive programming, DSA, and software engineering.

RunTimeFix

  • About
  • YouTube
  • Book
  • Study Library
  • Courses

Learn

  • Competitive Programming
  • DSA
  • Development
  • Databases

Legal

  • Privacy
  • Terms
  • Refund Policy

RunTimeFix — debug → solve → run

© 2026 RunTimeFix. All rights reserved.