Questions et réponses d'entretien les plus demandées et tests en ligne
Plateforme d'apprentissage pour la preparation aux entretiens, les tests en ligne, les tutoriels et la pratique en direct

Developpez vos competences grace a des parcours cibles, des tests blancs et un contenu pret pour l'entretien.

WithoutBook rassemble des questions d'entretien par sujet, des tests pratiques en ligne, des tutoriels et des guides de comparaison dans un espace d'apprentissage reactif.

Preparation a l'entretien

Algorithm Questions et reponses d'entretien

Question 36. Explain the concept of the Bellman-Ford algorithm.

The Bellman-Ford algorithm is used to find the shortest paths from a source vertex to all other vertices in a weighted graph. It can handle graphs with negative weight edges, but it detects and reports negative weight cycles.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 37. What is the time complexity of quicksort algorithm?

The average and best-case time complexity is O(n log n), while the worst case is O(n^2).

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 38. Explain the concept of dynamic programming.

Dynamic programming is a method for solving complex problems by breaking them down into simpler overlapping subproblems and solving each subproblem only once, storing the solutions to subproblems to avoid redundant computations.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 39. What is the difference between BFS and DFS?

BFS explores nodes level by level, while DFS explores as far as possible along each branch before backtracking. BFS uses a queue, and DFS uses a stack or recursion.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 40. How does a hash table work?

A hash table is a data structure that uses a hash function to map keys to indices in an array. It allows for efficient insertion, deletion, and retrieval of data. Collisions can be resolved using techniques like chaining or open addressing.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Les plus utiles selon les utilisateurs :

Copyright © 2026, WithoutBook.