This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#List 10 topics | |
#1. Recursion | |
#2. Pairing effectively | |
#3. Benchmarking | |
#4. Using Regex | |
#5. Using the zip method. | |
#6. When to use destructive methods effectively | |
#7. Loops- each, while, unless | |
#8. Using yield | |
#9. Writing in pseudocode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Array#map calls the passed block once for each element of the array it was called on. | |
#It creates and return a new array containing the new values. | |
#Array#inject combines each element of an enumerator by applying the operation specified in the attached block or | |
#represented by an operator/method symbol (like +, -, /). If a block is specified, the block is passed an accumulator value | |
#and the individual element. It then returns the value of memo. | |
#Array#select returns a new array containing all the elements of the passed array for which the passed block is true. | |
class Array |
NewerOlder