Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Programming Questions in JAVA Asked at Freshers

    211 / 212

    Every character in the input string is followed by its frequency.
    Write a function to decrypt the string and find the nth character of the decrypted string. If no character exists at that positionthen then return "-1".
    For eg:- If the input string is "a2b3" the decrypted string is "aabbb".
    Note: The frequency of encrypted string cannot be greater than a single digit i.e.<10.

    Explanation:

    The decrypted string is "abccc", hence the 5th character in the decrypted string is "c".

    Input : Input Specification:
    Input1: A string.
    Input2:5


    Output :

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In NagarroHackerRank |  Experience, Fresher
    Please Login to view the answer

    Tags:Nagarro

    212 / 212

    Given a number of objects N(non-repetitive object) Find the number of arrangements in which no objects occur at original positions.

    Input : Input1: N, the number of Objects.
    Input1: 3


    Output :

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In NagarroHackerRank |  Experience, Fresher
    Please Login to view the answer

    Tags:Nagarro




You at page 22 practice here all the basics and standard c, C++, JAVA, Python program asked at freshers level job interview or in coding round. Practice our hand-picked 22 coding round programming interview questions asked in coding round of various it companies and exams. You can practice all the given at this page 22 programed given C, C++, JAVA, Python question in any language, you can post your answer and same time you can review other users answer. It is always recommanded to write your own C, C++, JAVA, Python coding questions answer first and then refer others answers. At this page 22 we have covers all the coding questions in 2020-2021 and previously asked in their Interview round or coding rounds.