---
id: 6625136b87a56a3913122eb5
title: Task 6
challengeType: 19
dashedName: task-6
---

<!-- (Audio) Sophie: Well, I'm trying to optimize this function, but I feel like I'm missing something. Have you ever tackled a similar optimization challenge? -->

# --description--

Please answer the question below.

# --questions--

## --text--

What has Sophie tried to do, and what is she asking Brian?

## --answers--

She tried solving a bug and is asking for a code review.

### --feedback--

Sophie is working on optimization, not bug solving, and she's asking if Brian has experience with similar challenges.

---

She's optimizing a function and wants to know if Brian has faced a similar challenge.

---

She gave up on the function and is seeking Brian's help to start over.

### --feedback--

Sophie hasn't given up; she's actively working on optimization and inquiring about Brian's experience.

---

She completed the function optimization and is asking for Brian's approval.

### --feedback--

Sophie indicates she's still working on optimization and is missing something, not seeking approval for a completed task.

## --video-solution--

2

# --scene--

```json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Sophie",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "9.2-1.mp3",
      "startTime": 1,
      "startTimestamp": 8.62,
      "finishTimestamp": 15.48
    }
  },
  "commands": [
    {
      "character": "Sophie",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sophie",
      "startTime": 1,
      "finishTime": 3.4,
      "dialogue": {
        "text": "Well, I'm trying to optimize this function,",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "startTime": 3.4,
      "finishTime": 5.06,
      "dialogue": {
        "text": "but I feel like I'm missing something.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "startTime": 5.48,
      "finishTime": 7.86,
      "dialogue": {
        "text": "Have you ever tackled a similar optimization challenge?",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "opacity": 0,
      "startTime": 8.36
    }
  ]
}
```
