Top Interview Questions
Top Interview Questions
Python
What are Python’s key features?
Ans: Python is interpreted, dynamically typed, object-oriented, supports multiple paradigms,
and has an extensive standard library.
What is Java?
Ans: Java is a platform-independent, object-oriented programming language used for
building applications.
What is the difference between a binary tree and a binary search tree (BST)?
Ans: A binary tree is a general tree with two children per node. A BST is a binary tree where
left children are smaller and right children are larger than the parent node.
What is a trie?
Ans: A tree-like data structure used for efficient storage and retrieval of strings.
How do you find the middle element of a linked list in one traversal?
Ans: Use two pointers, one moving twice as fast as the other.
What is a graph?
Ans: A collection of nodes (vertices) and edges representing relationships.
What is JavaScript?
Ans: A scripting language used to create dynamic web content.
What is AJAX?
Ans: Asynchronous JavaScript and XML, used for dynamic updates without page reloads.
What is CORS?
Ans: Cross-Origin Resource Sharing allows restricted resources to be accessed across
domains.
What is HTTPS?
Ans: Secure HTTP using SSL/TLS for encrypted communication.
What is a CDN?
Ans: A Content Delivery Network distributes content to servers closer to the user for faster
delivery.