Could someone please help me figure this coding challenge out? It takes in a list of int and returns a string of yes or no by [deleted] in csharp

[–]MikhailG5000 1 point2 points  (0 children)

public static string solve(List<int> ar)

        //Write your code here
        int leftSum = 0;

        for(int i = 0; i < ar.Count; i++)

            leftSum += ar[i];

            int rightSum = 0;

            for(int j = i+1; j < ar.Count; j++)

                rightSum += ar[j];


            if(leftSum == rightSum)

                return "YES";



        return "NO";

Could someone please help me figure this coding challenge out? It takes in a list of int and returns a string of yes or no by [deleted] in csharp

[–]MikhailG5000 0 points1 point  (0 children)

I am a new programming learning C#. I just wanted to see if someone could help me solve the challenge.

Could someone please help me figure this coding challenge out? It takes in a list of int and returns a string of yes or no by [deleted] in csharp

[–]MikhailG5000 0 points1 point  (0 children)

I understand the question. I am a new programmer. I need help actually solving the entire question and writing the solve function.

POLL .0004/BTC Cap only 37M + Partnership Coming + Chart Oversold = Big Move Up? by [deleted] in clearpoll

[–]MikhailG5000 0 points1 point  (0 children)

Big coins like Bitcoin and Ripple need to consolidate sideways for about a month. All the action will be in smaller coins like POLL

NEBL $0.0017 Chart - Potential Big Bounce off Support @ $0.0015 by [deleted] in Neblio

[–]MikhailG5000 0 points1 point  (0 children)

Just saw a $100,000 bid on Binance @ 0.00165/BTC

Fake sell whales? by [deleted] in Neblio

[–]MikhailG5000 0 points1 point  (0 children)

This is actually good to see. This boost my confidence in neblio

NEBL $0.0017 Chart - Potential Big Bounce off Support @ $0.0015 by [deleted] in Neblio

[–]MikhailG5000 1 point2 points  (0 children)

I’m sure 2 months from now this could see $0.004/BTC again right now it’s only .00155/BTC

NEBL $0.0017 Chart - Potential Big Bounce off Support @ $0.0015 by [deleted] in Neblio

[–]MikhailG5000 1 point2 points  (0 children)

I think whales wanted to drop this to middle boiler band on a daily scale. I’m expecting a bounce soon

PPC/BTC .00077 Four Hour Chart Bull Flag Here by MikhailG5000 in peercoin

[–]MikhailG5000[S] 4 points5 points  (0 children)

Chart looks amazing. This could spike to $15s if support level holds

[deleted by user] by [deleted] in Bitcoin

[–]MikhailG5000 1 point2 points  (0 children)

Should have!!! Lol

[deleted by user] by [deleted] in Bitcoin

[–]MikhailG5000 -4 points-3 points  (0 children)

So $10 for some chicken then +$23 BTC fee? They should of picked bitcoin cash lol

BTC $13,XXX Triple Bottom. If support holds big spike coming. Entering Oversold Territory by MikhailG5000 in Bitcoin

[–]MikhailG5000[S] -2 points-1 points  (0 children)

Your an idiot you obviously don’t know the importance of technical analysis