Questions d'entretien

Entretien pour Back-end Software Engineer

-

Yelp

Some questions are not that clear . Eg. How can you find all instances of a class. I did not understand that.

Répondre

Réponses aux questions d'entretien

2 réponse(s)

1

OR on runtime: {v for v in locals().values() if isinstance(v, SomeClass)}

Utilisateur anonyme le

1

the question was, how can you find all instances of a class in a file. Answer would be "grep".

Ambu Sreedharan le

Ajouter des réponses ou des commentaires

Pour commenter ceci, connectez-vous ou inscrivez-vous.