The Voyager novel "Violations" was written prior to the Da Vinci episode where the ship's computer was stolen, and yet both stories are extremely similar, making one wonder whether the writers of the show adapted the book.
"Extremely similar" proves nothing. Different stories by different writers are constantly extremely similar by accident. The main reason episode pitches get rejected, in fact, is "We're already doing a story like that." It happened to me three times when I pitched to Trek. My TNG spec script had similarities to "Quality of Life," which aired ten days after I mailed in the script. One of my DS9 pitches was very similar to "Empok Nor," which aired the following year. And one of my
Voyager pitches, which I delivered over the phone to Joe Menosky, turned out to be very similar to an unfilmed movie script he'd written.
Laypeople constantly assume that similarity alone is proof of deliberate imitation, but the fact is that you can
never assume that, because it constantly, routinely happens by accident. Unless there's actually a credit given for the author of the source material, or unless you've read confirmation from a reputable source that one story was the inspiration for the other, it's more likely that it's just coincidence.
And really, there are a lot of closer parallels than
Violations and "Concerning Flight." That episode wasn't really about the computer being stolen, it was about getting Leonardo da Vinci out of the holodeck. So they weren't the same story in terms of their core and inspiration. A closer parallel would be something like Christie Golden's
Seven of Nine and the episode "Infinite Regress," both of which involved Seven being influenced by the memories of the Borg's victims. Although that was definitely a coincidence. If "Infinite Regress" had been based on the novel, it would've been a better episode.