Hey there! Sign in to join this conversationNew here? Join for free
Turn on thread page Beta

Spending hours solving a problem which actually turned out to be rather simple... watch

    • Thread Starter
    Offline

    21
    ReputationRep:
    does everyone go through it? or only "stupid" people?

    I had over 110 attempts answering a coding question, gave up, looked up the solution. It was one line of code :facepalm:

    Code:
    return s.Substring(i,s.Length-i-1) + s.Substring(j,s.Length-j-1); // C#
    Offline

    20
    ReputationRep:
    You should take a break and watch this bird:

 
 
 
Poll
“Yanny” or “Laurel”
Useful resources
AtCTs

Ask the Community Team

Got a question about the site content or our moderation? Ask here.

Welcome Lounge

Welcome Lounge

We're a friendly bunch. Post here if you're new to TSR.

Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.