Misc.Apr 4, 2018
Qualcommcppgeek

Can't use Leetcode editor #leetcode

I feel like I can't code in leetcode editor. I always copy the code to my Xcode(i like using be an points) and then copy it back to leetcode. Will this be a problem during interviews? I do practice white board coding on the side.

Add a comment
Qualcomm cppgeek OP Apr 4, 2018

I like using breakpoints.

Amazon ShAV42 Apr 4, 2018

Try taking the code you write on the whiteboard, plugging it in the ide as is and see if it runs and solves the problem correctly. In my experience debuggers are a huge crutch that you won’t have during an actual interview.

Qualcomm cppgeek OP Apr 4, 2018

Am I expected to write code 100% flawless in the actual interview ?

Amazon ShAV42 Apr 4, 2018

Not 100% but pretty close - but I was speaking more about all these tiny bugs that become super easy with a debug session that we potentially miss when white boarding. If you can write bug free code on your first go then that’s great.

Facebook fxau82 Apr 4, 2018

I recommend this too, writing on white board and copying in will definitely take your abilities to the next level. Before this, I was definitely the kind of person that "verified by compiling", i.e. compiled after every little change to make sure it was correct.

Qualcomm cppgeek OP Apr 5, 2018

Makes sense. Right now I can solve most questions in xcode and easy ones in leetcode. Am I too far from interview form ?

Facebook fxau82 Apr 5, 2018

Depends how dependent you are on xcode. If it's not too bad it doesn't take too long to wean yourself off, a few days to a week maybe.

New
bucketlife Oct 26, 2021

What are bean points?