1. Send your notes.
Upload or paste your study material. Questions are based on the source material's quality of content.
Less clutter. More practice. Better retention.
Streaming starts only when you press play.
We re-engineer the prompt by adjusting the model‘s creativity parameters, guaranteeing a unique and non-repetitive result every time.
Reveal the answer to confirm, then hide it again to re-test. This interactive cycle forces active recall — the scientifically proven method for deep knowledge retention.
Store questions into collections, organizing them by topic or difficulty. Practice entire subjects with curated content, building a personalized repository of flashcards that grows with every study session.
Easy • Computer Science Question
def calculate_factorial(n):
"""
Calculate the factorial of a positive integer n.
Factorial of n (n!) is the product of all positive integers
less than or equal to n.
Example: 5! = 5 × 4 × 3 × 2 × 1 = 120
"""
if n == 0:
return 1
else:
return n * calculate_factorial(n - 1)
# The function appears correct for positive integers, but there's
# a subtle issue that can cause problems with certain inputs.
# What happens if a negative number is passed? Can you find the bug?Easy • Computer Science Question
def calculate_factorial(n):
"""
Calculate the factorial of a positive integer n.
Factorial of n (n!) is the product of all positive integers
less than or equal to n.
Example: 5! = 5 × 4 × 3 × 2 × 1 = 120
"""
if n == 0:
return 1
else:
return n * calculate_factorial(n - 1)
# The function appears correct for positive integers, but there's
# a subtle issue that can cause problems with certain inputs.
# What happens if a negative number is passed? Can you find the bug?
You have access to multiple AI providers: Meta Llama models (via Groq), Google Gemini models, or Ollama (local models). Limited models are available due to the free tier provided by Groq & Google. For models like ChatGPT, Claude, and others, require payment. As for Ollama, you can download as many as you want, provided that you have the hardware capacity to handle the requests locally.
Yes. When using Ollama (local models), all processing happens on your device — your notes never leave your computer. For cloud models (Groq/Gemini), your content is sent to their APIs for processing but is not stored permanently. Generated flashcards are saved locally in your browser‘s localStorage. We don‘t require accounts or store your content on our servers.
For optimal results, we recommend between 4,000-6,500 characters (roughly 700-1,100 words). The minimum is 2,000 characters, and the maximum is 8,000 characters per generation. If your content exceeds 8,000 characters, you‘ll need to split it into sections. The system automatically calculates the optimal number of questions (3-12) based on your content length, using approximately 850 characters per question as a guideline.
Currently, Retentive supports `.txt` and `.md` (Markdown) files. You can also paste text directly into the input field. PDF support is coming soon. Files are processed entirely in your browser — no server upload required for file reading.