---
title: "Discussion on \"HackerRank Plus Minus\" | Hashnode"
description: "Discussion on \"HackerRank Plus Minus\". Problem\n\nGiven an array of integers, calculate the fractions of its elements that are positive, negative, and are zeros. Print the decimal value of each fraction on a new line.\n\nSolution\nIn the general case, the input can be assumed to be an iterable..."
url: "https://hashnode.com/posts/hackerrank-plus-minus/5d9e93cfd7abec6c7987e28a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [HackerRank Plus Minus](https://dustinkingen.hashnode.dev/hackerrank-plus-minus?utm_source=hashnode&utm_medium=feed)

Problem Given an array of integers, calculate the fractions of its elements that are positive, negative, and are zeros. Print the decimal value of each fraction on a new line. Solution In the general case, the input can be assumed to be an iterable...

Oct 10, 2019 · dustinkingen.hashnode.dev  
Read the article

-   [#computer-science](https://hashnode.com/tag/computer-science)
-   [#competitive-programming](https://hashnode.com/tag/competitive-programming)

## Written by

[Dustin Kingen](https://hashnode.com/@DustinKingen)

@DustinKingen · Michigan, US

  
[View profile](https://hashnode.com/@DustinKingen)

Senior Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
