Coding Questions Asked in HackerRank
1 / 29
Input : NA
Output : NA
Tags:Nagarro
2 / 29
Input : this is crazy and fun
Output :
Tags:Nagarro
3 / 29
Input : NA
Output : NA
Tags:Nagarro
4 / 29
Input : n =10
Output :
Tags:Societe Generale
5 / 29
Input : NA
Output : NA
Tags:Societe Generale
6 / 29
Input : NA
Output : NA
Tags:Societe Generale
7 / 29
Input : NA
Output : NA
Tags:Societe Generale
8 / 29
Each date is in the form ddmmmyyyy where
dd is the set {0-31}
mmm is in the set {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec)
yyyy is four digits.
Example
dates = {'01 Mar 2017';'03 Feb 2017';'15 Jan 1998']
The array dates sort to ['15 Jan 1998';'03 Feb 2017';'01 Mar 2017';]
Input : {'01 Mar 2017';'03 Feb 2017';'15 Jan 1998']
Output :
Tags:SAP Labs
9 / 29
Example:
Intput:
ele = {0, 1, 2, 3, 4} ind ={0, 1, 2, 1, 2}
Output: {0, 3, 4, 1, 2}
Input : ele: {0, 1, 2} ind: {0, 1, 0}
Output :
Tags:SAP Labs
Q4I highly advised to practice all the basics and standard program asked at freshers or experienced level job interview in HackerRank. Practice our hand-picked coding interview questions asked in HackerRank. You can programed the given question in any language, you can post your answer and same time you can review the other answer. It is always recommanded to write your own program first and then refer others answers. At this page we have covers all the HackerRank coding questions in 2020 and previously asked in their Interview round or coding rounds.
Top Kudos Contributor
Trending Programming Qs.
- Given a number n, print all primes smaller than or equal to n. It is a...
- Write a program to count the no. of words in the given string?
- Sort a list of dates in ascending order given the data format shown be...
- Read a string from terminal.Create a linked list to store each charact...
- Write a program to remove the vowels from the input string.
- Write a program to check whether given date is valid or not?
Last Month Contributor
- Write a program to count the no. of words in the given string?
- Given a number n, print all primes smaller than or equal to n. It is a...
- Write a program to print next to the last word of a sentence.
- Write a program to reverse the string?
- Write a program to convert uppercase to lower case and vice versa of a...