Plagiarism is common in academic writing and novel writing. Stealing of ideas for fictional content happens. Using ideas without citation and credit also happens. We read we admire, we copy. We find the work original and pleasant. We are compelled to write a similar story. Another case scenario is admiring an authority figure. Their work ethic, their ideologies and their contribution to society. As a result, we end up thinking and behaving like them. After all, they are role models, however, sometimes it can be taken a tad bit far. Their ideologies are ingrained and one can fail to mention where those ideas came from, how you came up with a solution.
Imitation is the highest form of flattery –Charles Caleb Colton, in Lacon: or, Many things in few words, 1820. I have just used the quote to credit the source who happens to be the author named above. As an example of avoiding plagiarism.