[MUSIC] All right, so the next pitfall we're going to talk about is silence. You remember from Wong's video that there was a lot of long stretches of periods where Wong was just typing and not saying anything, and that's definitely something you want to avoid in a live coding situation, especially on the phone. So by the end of this video, you'll be able to talk through your thought process as you're solving technical problems in that live coding situation. Nobody's going to expect you to be able to solve the problem immediately with no thought. But the important thing to keep in mind is that the interviewer who's on the other side of the phone, or even if the interviewer is in person, can't hear what's going on in your head. They have no idea what you're thinking about. So, if you don't say anything, they don't get any information. So, if you remember back to when Wong was doing that coding example, in particular, when she was writing that loop that looped through all the characters in the string, she was just typing away, and she was making some mistakes, and the interviewer really didn't have a good sense of what she was thinking at that point. And when she did talk, she really said not too much more than what she was already typing. So let's take another look, let's take a look at Wong's next attempt and see how she does a much better job. Her approach is pretty much the same as it was in the first video, but she does a much better job of thinking out loud, letting the interviewer into her head, and you'll see how this causes the interviewer to really give her some key guidance at different points along the way and help her come to a better solution. So, I think I'll try to somehow get each individual digit. I think there's a library function that converts a string to a char array. Is it okay if I use that? Sure. Okay. So, let me declare char array. I think, is it okay if I don't have the exact syntax for? Yeah, that's fine. Okay. Yeah, it's hard to remember. It's API without the codoc, or the Javadoc. Okay, so, input, okay, so, now I have the string parsed into a char array. I can loop through the array. And I know it should be length, not, because length is a field with arrays, not a mythical. And I'm going to increment my index and, here we are. And, so if I'm looping through each digit, I'm going to multiply it by powers of tens. So I'm going to need an integer that keeps track of the value that I want to return in the end. And, so I should add the digits to this value and multiply it by powers of ten, and there's a pow function in the Math library. So 10, i. And then I can just return, value. And the out value in the end. All right, you said you wanted add that value. The value every time. You probably meant- Yes, sorry, I missed the plus sign. There you go, yeah. Great. All right, so you saw that when Wong thought out loud, things went much better for her, because again, these interviewers really want to help you. They don't want to see you struggle. So by letting them into your head and know what you're thinking, you'll really give them an opportunity to do so. So no matter what is going through your head, no matter what idea you have, even if it seems totally off base, talk about it. You might preface it by saying, well, all I can think of is something that I know isn't right, and here's what I think it is. That's a great thing to say. That really helps the interviewer help you with your process. So, keep talking.