LeetCode Question · Oct 2024

Uber OA | Number Theory Problem

2 upvotes 373 views 3 replies

Question Details

The question that was asked was: Given three integers p, q, and r. Determine the value of (p^(q!)) mod r. Can anyone help me solve this? Thanks!

Full Details

🔒

Unlock all Uber questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a uber interview for a swe role during the oa round reported in 2024.

It covers the following topics: General Experience .