1. Given an array and a set of operations on it, perform those in sequence to the array.
Example : given array : 12345
Operations to be performed in order : L1,R2,R1,L3
L1 : shift left once,R2 : shift right twice…etc
2. Given an array of size n of integer type containing the integers from 1 to n (both including), print how many times each integer is repeated. There is no rule that every integer in the range 1 to n will be present in the array. Solve the problem using only one additional variable.
Example : n= 5
Array : 12341
Answer : 1 – 2 times
2 – 1 time
3 – 1 time
4 – 1 time
3. Print this pattern
* * * * *
* * *
* * *
* * * * *
4. A code is given which prints the sum of even and odd numbers in the given set of numbers. Identify the error and rectify it.
5. Given two integers m and n,write code for m power n without using exponent operation.
7. Measure 9 min using two 4 min and 7 min sand glass.
9. 2 DBMS queries.(don’t remember)
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above
- ChargeBee Interview Experience (On-Campus)
- Walmart Lab Interview Experience | Set 7 (Off-Campus 3 Years Experience)
- Walmart Lab Interview Experience | Set 8 (Off-Campus 3 Years Experience)
- Amdocs Off Campus Interview | Set 13 (Off-Campus)
- MindTickle Interview Experience | Off-campus | Fresher( 0-Yr Experience)
- MakeMyTrip Interview Experience | On-Campus Virtual Experience
- Barclays On-Campus Hiring for BA3 Role, SNDT Campus Experience
- Amazon Interview Experience | Set 287 (On-Campus)
- Interview Experience with Deloitte (TTL) US-INDIA FAS Hyderabad |Set 1 (On-Campus)
- Oxigen Wallet Interview Experience | Set 3 (On- Campus)
- Financial Software Systems Interview Experience | Set 1 (On Campus)
- SAP Labs Interview Experience | Set 1 (On-Campus)
- Shree Partners Interview Experience | Set 1 (For Gurgaon Campus)
- Inmobi Interview Experience | Set 1 (On-Campus)
- Nagarro Interview Experience | Set 1 (On-Campus)
- Samsung Interview Experience | Set 5 (On-Campus)
- Morgan Stanley Interview Experience | Set 11B (On-Campus)
- Payu Interview Experience | Set 3 (On-Campus)
- Amazon interview Experience | Set 129 (For SDE 1 Off-Campus)
- BrowserStack Interview Experience | Set 1 (On-Campus)