Face to Face
I was interviewed before Sep, 2020.
- Q1. Check why the program is giving wrong output
- Q2. Handle the Exception that is occurring.
- Q3. First Two patterns of Numbers were given and i have to use any language to print those patterns in parallel to explaining my code.
- Q4. Reverse the string
You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.
If the given string is: STR = "abcde". You have to print the string "edcba".
Try to solve the problem in O(1) space complexity.
The first line of input contains a single integer 'T', representing the number of test cases or queries to be run. Then the 'T' test cases follow. The first and only line of each test case contains a string 'STR'.
For each test case, print a single line containing a single string denoting the reverse of the given string 'STR'. The output of each test case will be printed in a separate line.
You are not required to print the expected output, it has already been taken care of. Just implement the function.
1 ≤ T ≤ 10 1 ≤ |STR| ≤ 10 ^ 5 Where |STR| is the length of the string STR. Time limit: 1 sec.View Answer (2)Collapse
- Q5. DBMS Questions
Write a query for inner join and explain it and also take any tables to perfom inner join on it and why do we use it.
LrnEd interview Rounds:Round 1
Round type - Online Coding Interview
Round duration - 120 minutes
Round difficulty - Medium
Round description -
Amcat Test ( WebCam On and in Proctored mode)
The First round was divided into multiple sections Logical, aptitude, English comprehensive writing and Error Handling For given C++ and Java Programs( 6 Programs were there), Each section was time bounded.
Round type - Face to Face
Round duration - 30 minutes
Round difficulty - Easy
Round description -
It was a virtual interview round. The platform consist of an online IDE, Video of Interviewer and a chat window.
Interviewer asked me Tell me about yourself, then programs on patterns , string handling , SQL queries and OOPs concept.
In the End he asked me about my projects and on what project i am currently working. why you want to join DXC. How you got to know about DXC. Do you want to pursue higher education.
Tip 1 : Practice Aptitude Questions from IndiaBix
Tip 2 : Know Fundamental concepts of every subject you studied in Engineering
Tip 3 : Chose one Programming Language i prefer C++ or Java, Solve Data Structures Problems, Most Frequently asked codes from GeeksForGeeks, Practice at Leetcode
Tip 4 : Be prepared for Behavioural Questions, there are only some set of FAQs that can be followed from youtube vedios.
Tip 5 : Have atleast 1 good technical Project, and Use Technical keywords to mention that project in your Resume.
Tip 6 : Be humble in Interviews.
Tip 7 : Practice at Leetcode atleast top 100 questions.
Tip 1 : Don't put anything in resume that you are not sure of.
Tip 2 : if you don't have any internship experience then you can show your good technical projects and certifications too.
Tip 3 : Use professional Keywords in your resume.
Tip 4 : Highlight your Skills and Achievements. Put only those skills in which you are good like any question can be asked on any particular skill. Like how you will do this in this.