Instructor InformationPrakhar Agrawal
Scaler Curriculum- 2 months → Intermediate Problem Solving
- 4 months → Advanced Problem Solving
- Class 3 days a week
- Wednesday
- Friday
- Saturday
Pseudo Code for core logic
Ways to succeed in course- Revisit of lectures
- Assignments matter!
- Homework need to be done on time
Systems DesignTeaches you how to design systems at scale. It also teaches how you design the code. So this part is going to have high-level and low-level design aspects.
Final Project
Count of factors
A factor is when any number can be divided equally into n.
$$
n \mod i == 0
$$
Then i is a factor of n. Below is an implementation of this algorithm in Go:
package main
import "fmt"
func main() {
fmt.Println("Factors of 12: ", Factors(12))
}
// Factors takes in a number and returns a slice of all the factors of that number.
func Factors(n int) []int {
var factors []int
for i := 1; i <= n; i++ {
if n%i == 0 {
factors = append(factors, i)
}
}
return factors
}
Stopped video at 0936 - 32:10 into video