questions1 = [
{
time: "4:46",
question: "What is the **total** running time of the given code?",
answers: [
"O(5 n log n)",
"5n log n",
"5n log n + 8n - 200",
],
correct: 2,
}
]
yt1 = new YtQuiz("9jnM2rpzbe0", questions1);
questions2 = [
{
time: "2:19",
question: "What is a good estimate for the total running time?",
answers: [
"2n + 1",
"1/2 n",
"2n^2",
],
correct: 0,
},
{
time: "5:04",
question: "What is the asymptotic running time?",
answers: [
"O(n)",
"O(n^2)",
"O(n log n)",
],
correct: 0,
}
]
yt2 = new YtQuiz("X2pZ38jLKDA", questions2);
questions3 = [
{
time: "1:50",
question: "What is the total running time of the given code?",
answers: [
"4n + 3",
"O(n)",
"O(n^2)",
],
correct: 0,
}
];
yt3 = new YtQuiz("ukTwzxwUX8s", questions3)
questions4 = [
{
time: "0:34",
question: "What is your algorithm?",
answers: ["This is just here to make the video pause."],
correct: 0,
},
{
time: "4:12",
question: "What is the asymptotic running time of `FindCommon`?",
answers: [
"O(n)",
"O(n^2)",
"O(n log n)",
],
correct: 1,
}
];
yt4 = new YtQuiz("cZe0N2pSEPw", questions4)
questions5 = [
{
time: "2:53",
question: "What is the total running time of the given code?",
answers: [
"n^2",
"21 n lg n + 25n + 1",
"O(n)",
],
correct: 1,
}
];
yt5 = new YtQuiz("wM0tq6ASgY8", questions5)