نشامى
وضع الدراسة · FAANG-Style Tech Interview & Strategic Problem-Solving Examination
بنك الأسئلة
FAANG-Style Tech Interview & Strategic Problem-Solving Examination
ملخص الإنجاز0/25 · 0%
الأسئلة وإجاباتها
25 questionsBank.questionsCount
1
What is the time complexity of searching an element in a balanced binary search tree?
- أO(n)
- O(log n)
- تO(n log n)
- ثO(1)
2
Which sorting algorithm is best for sorting a large data set in parallel computing applications?
- أBubble Sort
- بQuick Sort
- تInsertion Sort
- Merge Sort
3
In the context of distributed systems, what consistency model is the CAP theorem associated with?
- أEventual Consistency
- Strong Consistency
- تWeak Consistency
- ثCausal Consistency
4
What is the main advantage of using a linked list over an array?
- أFaster access to elements
- Dynamic size
- تLess memory usage
- ثBetter cache performance
5
Which one of these protocols is primarily used to send data in a reliable, ordered, and error-checked manner over the internet?
- TCP
- بUDP
- تHTTP
- ثSMTP
6
Which algorithm is used to find the shortest path in a graph with non-negative weights?
- أKruskal's Algorithm
- Dijkstra's Algorithm
- تPrim's Algorithm
- ثFloyd-Warshall Algorithm
7
In JavaScript, what is the purpose of the 'bind' method in relation to functions?
- أTo invoke a function immediately
- بTo create a copy of a function
- تTo chain multiple functions together
- To set the value of 'this' inside a function
8
Which data structure is most efficient for implementing a priority queue?
- أStack
- بQueue
- Heap
- ثLinked List
9
What design pattern is characterized by an object that is used to control access to another object?
- Proxy
- بAdapter
- تTemplate
- ثFactory
10
In C++, which of the following best describes a 'virtual' function?
- أA function that cannot be overridden
- بA function with no definition
- A function that can be overridden in derived classes
- ثA function that is defined outside the class