[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Hashing Programs in C

    1 / 2

    Start from a random number, generate a sequence such that if number is odd multiply it 3 and add 1. If number is even, divide the number by 2. This Sequence will always cyclic with 4, 2, 1. In this sequence, find the maximum power of 2 generated in the sequence and print only the power, not the sequence.

    Input : NA


    Output : NA

    View Answer |  Hashing |  Practice Program | Add to Reading List To Reading List | Asked In Virtusa |  Fresher
    Please Login to view the answer

    Tags:Virtusa

    2 / 2

    Start with a random 2 digit number, The series is generated by multiplying the number by 2 and placing the last 2 digits as the next number. Series continues until one of the element repeats.

    Input : NA


    Output : NA

    View Answer |  Hashing |  Practice Program | Add to Reading List To Reading List | Asked In Virtusa |  Fresher
    Please Login to view the answer

    Tags:Virtusa




You can practice here all the basics and standard Hashing program asked at freshers or experienced level job interview. Practice our hand-picked Hashing coding interview questions asked in coding round of various it companies and exams. You can programed these given 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 Hashing coding questions answer first and then refer others answers. At this page we have covers all the Hashing coding questions in 2020 and previously asked in their Interview round or coding rounds.