Data Structures and Algorithms Assignment 1 - Spring 2020, Exercises of Data Structures and Algorithms

The solution instructions for assignment 1 of the data structures and algorithms course offered by paf kiet in spring 2020. The assignment includes four questions that require students to solve equations using big o notation, omega notation, and theta notation. Students are expected to determine the time complexity of given functions.

Typology: Exercises

2019/2020

Uploaded on 02/27/2020

sohaib-hamid
sohaib-hamid 🇵🇰

1 document

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PAF KIET
Spring 2020
Assignment 1
Subject: Data Structures And Algorithms Total Marks: 10
Date: 03-02-2020 Last Date: 09-
02-2020
Name: Student ID: Class ID: 103328
Q1. f(n) = 2n + 10
Solve this equation using Big O Notation when C = 3.
Q2. f(n) = 4n2 + 7n + 12
Solve this equation using Big O Notation when C = 5
Q3. f(n) = 3n4 + 2n2
Solve this equation using Omega Notation when C = 3
Q4. f(n) = 4n+ 2
Solve this equation using Theta Notation when C1 = 4 and C2 = 6

Partial preview of the text

Download Data Structures and Algorithms Assignment 1 - Spring 2020 and more Exercises Data Structures and Algorithms in PDF only on Docsity!

PAF KIET Spring 2020 Assignment 1 Subject: Data Structures And Algorithms Total Marks: 10 Date: 03-02-2020 Last Date: 09- 02- Name: Student ID: Class ID: 103328 Q1. f(n) = 2n + 10 Solve this equation using Big O Notation when C = 3. Q2. f(n) = 4n 2

  • 7n + 12 Solve this equation using Big O Notation when C = 5 Q3. f(n) = 3n 4
  • 2n 2 Solve this equation using Omega Notation when C = 3 Q4. f(n) = 4n+ 2 Solve this equation using Theta Notation when C 1 = 4 and C 2 = 6