Skip to content
Related Articles

Related Articles

Josh Technology Group Recruitment Process | Pool Drive

View Discussion
Improve Article
Save Article
  • Difficulty Level : Medium
  • Last Updated : 13 Jul, 2021
View Discussion
Improve Article
Save Article

Round 1:  

Round 1 was conducted online in campus, in which 50 Basic C Language Logical Mcq Questions was Asked. Mostly from topics like Arrays, Loops, Switch Statements, Ternary Operators, Shift operator, if else conditions. 

out of which most of the questions are from geeksforgeeks in between Set 1- 65 ( https://www.geeksforgeeks.org/c-multiple-choice-questions/ ) 

i was selected after solving 35+ questions correctly. 

Round 2: (Code without STL) 

Round 2 was pen paper test for 45 mins, in which 4 questions were asked, only function part supposed to be written in solution. 

Question 1- Given a array having N number of elements, for each index i, we have to update the array by its max element in the right. 

e.g-  I/P- [6, 7, 11, 4, 10, 8] ,    O/P- [11, 11, 11, 10, 10, 8] 

similar to this one- https://www.geeksforgeeks.org/replace-every-element-with-the-greatest-on-right-side/ 

Question 2- Given a linked list, we have to add 15 in the number formed, and return the linked list in O(1) space. 

e.g-   I/P- 9->9->9     O/P-  1->0->1->4 

similar to this one- https://www.geeksforgeeks.org/add-1-number-represented-linked-list/ 

Question 3- Given 2 binary trees, we have to check if they have same Inorder Traversal in O(n) Time complexity. 

Question 4- A output based program with Preorder function and reverse function. We were given a string, and asked output in preorder after performing reverse operations in different ranges of string. 

i was Selected for interviews after solving all 4 questions. 

//Posted By Pratik Agarwal
 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!