Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 773 Bytes

readme.md

File metadata and controls

13 lines (8 loc) · 773 Bytes

Daily Coding Problems

My attempts at some of the daily coding problems in Typescript

Daily Coding Problems

To run all tests: npm t

Problems

  • #1 Given a list of numbers and a number k, return whether any two numbers from the list add up to k.
  • #2 Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value of each fraction on a new line with places after the decimal.
  • #3 Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the five integers. Then print the respective minimum and maximum values as a single line of two space-separated long integers.