Course Review: Udacity Data Structures and algorithms
Udacity’s course, Data Structures and Algorithms, is intended for those individuals who are intending to go on interviews in the field of data science. While I don’t think I am going to be on any interviews, namely because of my age and health, I decided it would be a good idea to take the course nevertheless to see if the content will help me in the projects I am currently involved in.
Below is a review of the course and my thoughts about the content:-
Lesson 1: Introduction and Efficiency
The purpose of data structures and algorithms is to invent efficient solutions to unsolved problems using algorithms and data structures.
An algorithm is a program that solves a problem. It is a series of steps to solve a problem. It is a high level description of a trick for solving a problem.
Data types:-
- String = “ “
- List = [ ]
- Tuple = ( )
- Dictionary = {}
- Boolean = True or False
- Number = 1 or 1.0
- Variable with zero data = None
Types of loops
- For
- While