Oracle Interview Experience | 1.5 Years Experienced
I was contacted by HR from oracle for SDET Role through LinkedIn.
Round 1:
- Output of printf(“%d %d %d %d”, i++, ++i, i++, ++i) if i=2
- What is BST and BT
- https://www.w3wiki.net/stack-set-2-infix-to-postfix/
- https://www.w3wiki.net/convert-given-binary-tree-doubly-linked-list-set-3/
- Python string slicing
- Check data type of variable in python
Round 2:
- Detailed Project Discussion.
- Given string “oracle release 12.2c”, return 12.2 in python
- Linux command to list all .py files
- Total Count size of all python files in directory.(Was doing first saving output in .txt file, ls -lh | grep ‘.py’, then iterating over line by line , splitting each line, the getting sizes, adding it), but he wants a regex solution, I was not aware of regex that much.
- Explain inheritance by using two classes, base and derived. Explain class and object variables, how they are initialized in python classes.
- Make Graph Node. I used a class node with integer to store data and adjacency list with linkedlist. I write classes for both nodes.
- What are BST and BT
- Initially, he asked logic for alternate swaps(nodes to be swapped, not data) like 1->2->3->4->5->6 will become 2->1->3->4->6->5, but code was getting longer so he switched to swap every adjacent node.
Round 3:
- https://www.w3wiki.net/pairwise-swap-elements-of-a-given-linked-list-by-changing-links/
- https://leetcode.com/problems/reverse-nodes-in-k-group/
- Given a directory write code to replace all files having a word1 with word2.
Round 4(Managerial):
Contact Us