Tuesday, August 31, 2021

What are Algorithms and Data Structures

 Both are the building blocks of any Software(a collection of programs).

Program = Algorithms(processing/logic) + Data Structures (temporary memory)

Data Structures are tools for storing more than one data items at a time using a single name. They work as our short-term memory while we do mental calculations.

Algorithms are like the mental calculations/thinking that we do while solving a problem or performing some task.

Both together make a small replica of human brain. 

Data structures should be learnt first because algorithms use them.

Query for finding high dividend paying stocks

 Post the following query in Screen.in, to get list of high dividend yield stocks: Dividend yield > 6 AND Dividend last year > 1000 AN...