LLM Comparison

Groq

Compare two models on 5 questions. Answers stream live, side by side.

Models

Questions

  1. 1.What is the time complexity of quicksort in the worst case, and why does it occur?
  2. 2.A train travels 120 km in 1.5 hours. What is its average speed in km/h? Show your working.
  3. 3.Write a Python function that returns all prime numbers up to n using the Sieve of Eratosthenes.
  4. 4.Explain the key difference between a stack and a queue, with a real-world analogy for each.
  5. 5.If all Bloops are Razzles and all Razzles are Lazzles, are all Bloops necessarily Lazzles? Explain your reasoning.