← All problemsSign in

ROHIT LOVES PRIMES

Rohit is developing a hash function for his custom hashmap. He wants to find all the prime numbers between two given numbers so that he can use them as a key for his custom hashmap. Since he is busy with some other task, Help him to find all the prime numbers between two given numbers. **Input :** The input begins with the number t of test cases in a single line (t<=10). In each of t

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start