Breakdown of Czy znasz dobrego lekarza?
czy
[question particle]
dobry
good
znać
to know (someone or something)
lekarz
doctor
Questions & Answers about Czy znasz dobrego lekarza?
Why is it dobrego and not dobry?
Because the doctor is the direct object of the verb (the person you know), we need the accusative case. For masculine animate nouns (living people or animals), adjectives take the ending -ego, changing dobry to dobrego.
Why does lekarz change to lekarza here?
Just like the adjective, masculine animate nouns get a special ending when they are the direct object. For most living masculine nouns, you simply add -a to the end, making it lekarza.
Why use znasz for know instead of wiesz?
Polish has two verbs for to know. You use znać (which becomes znasz here) when you are familiar with a person, place, or thing. You use wiedzieć (which becomes wiesz) when you know a fact or piece of information. Since you are asking about knowing a person, znasz is the correct choice.
Where is the word for you in this sentence?
It is built directly into the verb! The ending -sz in znasz already means you know. In Polish, you usually drop the pronoun ty (you) unless you want to add special emphasis.