Company interviews are quite different then just sharing an idea with someone. If you're going to a company to be hired and paid, they aren't going to likely be telling you ideas - more of a general idea of what you might be working on, and to see if you're a fit. You'll then be made an offer for the job (or not) and will have to sign papers, including an NDA to accept the job, likely also copyright-related agreements, etc..