新鲜出炉的 Java 开发人员职位常见问题
原文:https://www . geesforgeks . org/常见问题-Java-developer-position-fresh/
基于 Java:
- OOPs concept (mostly polymorphism and the difference between encapsulation and abstraction)
- The difference between abstract class and interface.
- The difference between = = and. Equals () function.
- What is a hash map?
- What is a hash table?
- Type exception.
- The difference between exceptions and errors.
- The difference between throwing, throwing and throwing.
- Final, stereotyped and final differences.
- What is class?
- What is an object?
- The difference between class and object.
-
Method overload.
-
What is a thread?
- Different ways to create threads.
- Difference between C and Java.
- The difference between CPP and Java.
- File processing in Java.
算法:
- [method of bisection]
- Quick sort (complexity and logic)
- Merge sort (complexity and logic)
- The difference between merge sort and quick sort
- Which is better, merge sort or quick sort, and why?
- BFS
- 深度优先搜索
数据结构:
-
What is a binary tree?
-
What is linked list and its type.
- Use linked list to implement stack/queue.
- Memory management (heap and stack)
- AVL 树
- And list of arrays.
- Reverse linked list.
- Find the middle element of the linked list.
- How to detect loops in linked list?
- Top view/left view/right view/diagonal view of binary tree
- Rotate a matrix to the right.
- Check whether a binary tree is a subtree of another binary tree.
操作系统:
- 进程和线程的区别。
- 什么是死锁?
- 临界区问题
- 什么是颠簸?
- 传呼。
- 页面错误。
DBMS:
- And the difference between primary key and candidate key.
- What is a connection and the type of connection.
- Find the second highest salary from the employee list.
- Acid.
其他问题:
- Reverse a string.
- Find the most frequently occurring characters/words in a given string.
- Recursively checks whether the given string is a palindrome.
如果你喜欢极客博客并想投稿,你也可以写一篇文章并把你的文章邮寄到 contribute@geeksforgeeks.org。看到你的文章出现在极客博客主页上,帮助其他极客。
如果您发现任何不正确的地方,或者您想分享更多关于上面讨论的主题的信息,请写评论
版权属于:月萌API www.moonapi.com,转载请注明出处