Sort by

recency

|

6 Discussions

|

  • + 0 comments

    The problem says only addition and multiplicaiton are allowed. And the example includes combinations with neither operator ("1", and "2"). The examples also illustrate the combinations where none of one or the other value is present (e.g. "1+1", "2x2"). But what about a combination with neither value (i.e. the empty set), like neither operation? I don't see anything that would preclude this. It may be arguable whether this combination represents a sum of 0 or an undefined sum save videos, but it would seem to be one of the possibilities, given the problem description. Am I missing something?

  • + 0 comments

    The problem says only addition and multiplicaiton are allowed. And the example includes combinations with neither operator ("1", and "2"). The examples also illustrate the combinations where none of one or the other value is present (e.g. "1+1", "2x2"). But what about a combination with neither value (i.e. the empty set), like neither operation? I don't see anything that would preclude this. It may be arguable whether this combination represents a sum of 0 or an undefined sum, but it would seem to be one of the possibilities, given the problem description. Am I missing something?

  • + 5 comments

    best sports betting ?

  • + 0 comments

    Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Ones and Twos Problem Solution

  • + 1 comment

    Here is Ones and Twos problem solution in Python Java C++ and C programming - https://programs.programmingoneonone.com/2021/07/hackerrank-ones-and-twos-problem-solution.html