4 questions

  • Decode stringCodingA string is encoded with the rule ktext, meaning text repeated k times; k is a positive integer that may have several digits, encoded parts can be nested, and plain letters can…
    Last asked Sep 2026
  • String compressionCodingGiven a non-empty list of single characters, compress it with run-length encoding: for each run of equal characters write the character, followed by the run's length when it is…
    Last asked Sep 2026
  • Sum of numbers up to n divisible by 3, 5 or 7CodingGiven a positive integer n, return the sum of every integer from 1 to n that is divisible by at least one of 3, 5 and 7, counting each number once. A loop works; then do it in…
    Last asked Sep 2026
  • Design a secure pipeline for medical audioSystem designDesign the system that takes audio recorded during a doctor's visit, uploads it, processes it (for example transcription and note generation) and stores the results. Patient data…
    Last asked Mar 2026