Wednesday, July 3, 2024

Payu Iinterview (On-Campus)

Written round: 5 coding and 15 MCQ on ds, algos, dbms. 

Round 1:

Tell me about yourself 
Given two strings str1 and str2 find if str2 is substring of str1, if yes return the starting index else return -1. 
Given time as a string in format of HH:MM, draw an analog clock. ( no logic , but made me write the entire code ) 

Round 2:

Tell me about yourself 
Given a binary tree, change the value in each node to sum of all the values in the nodes on the left side of the node.

Eg:                  1
                / \
               2   3

                 3
                / \
               2   6

solved this question using int* he asked me to do it without integer pointer. 

Round 3:

Tell me about yourself. 
Given a string without spaces and a dictionary return or print all possible ways that the string can be broken so that only valid words are formed. 

Eg. “programmerit”, dict = { “pro”, “gram”, “merit”, 
                             “program”, “programmer”, “it” } 
ans: { {“pro”, “gram”, “merit”},
       {“program”, “merit”},
       {“programmer”, “it”} } 

HR :

Tell me about yourself. 
Strengths, weaknesses, why payu, why coding?, motivation, challenging moment. 

Feeling lost in the world of random DSA topics, wasting time without progress? It’s time for a change! Join our DSA course, where we’ll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 neveropen!

Nokonwaba Nkukhwana
Experience as a skilled Java developer and proven expertise in using tools and technical developments to drive improvements throughout a entire software development life cycle. I have extensive industry and full life cycle experience in a java based environment, along with exceptional analytical, design and problem solving capabilities combined with excellent communication skills and ability to work alongside teams to define and refine new functionality. Currently working in springboot projects(microservices). Considering the fact that change is good, I am always keen to new challenges and growth to sharpen my skills.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments