Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
r_test [2021/10/14 20:04] – [Question 3] admin | r_test [2021/10/14 20:08] (current) – [Question 3] admin |
---|
| |
__Hint:__ Solution 1: Use the ''utils::c?m?n()'' function, where you need to guess the question marks.\\ | __Hint:__ Solution 1: Use the ''utils::c?m?n()'' function, where you need to guess the question marks.\\ |
Use another R function that uses ''utils::c?m?n()''. | Solution 2: Use another R function that uses ''utils::c?m?n()''. |
| |
Deliverables are similar to question 2 plus you need to guess the above questions marks and copy the line of the code that includes them in your pdf file. | Deliverables are similar to question 2 plus you need to guess the above question marks and copy the line of the code on which ''c?m?n()'' is used in a short paragraph titled “Question marks”. |
| |
**Bonus**: Implement the ''utils::c?m?n()'' function yourself using dynamic programming. Compare the running time of your implementation vs. the utils implementations using large inputs that require at least a couple of minutes. | **Bonus**: Implement the ''utils::c?m?n()'' function yourself using dynamic programming. Compare the running time of your implementation vs. the utils implementations using large inputs that require at least a couple of minutes. |
| |
| |