Premium Employer

GAVS Technologies

3.6
based on 478 Reviews
Filter interviews by

TTK Healthcare Interview Questions and Answers

Updated 7 Jul 2024
Popular Designations

Q1. What are the interfaces and classes in java collection ?

Ans.

Java collection framework provides interfaces and classes to store, manipulate, and retrieve collections of objects.

  • Interfaces: List, Set, Map, Queue, Deque

  • Classes: ArrayList, LinkedList, HashSet, HashMap, PriorityQueue

  • Example: List interface is implemented by classes like ArrayList and LinkedList

Add your answer

Q2. Write a sql query to find the maximum mark of maths subject in a student table?

Ans.

SQL query to find the maximum mark of maths subject in a student table.

  • Use the MAX() function to find the maximum mark in the maths subject column.

  • Specify the maths subject column in the query.

  • Include the student table name in the query.

Add your answer

Q3. Print the duplicate character occurrence in a string?

Ans.

Print duplicate character occurrences in a string.

  • Iterate through the string and store character counts in a HashMap.

  • Print characters with count greater than 1 to find duplicates.

Add your answer

Q4. Print the character occurance in a string?

Ans.

Count the occurrence of each character in a given string.

  • Create a map to store character counts

  • Iterate through the string and update the counts in the map

  • Print the character counts from the map

Add your answer
Discover TTK Healthcare interview dos and don'ts from real experiences

Q5. Print the differences between the array elements?

Ans.

Use nested loops to compare each pair of elements and print the differences.

  • Use nested loops to compare each pair of elements in the array.

  • Calculate the absolute difference between each pair of elements.

  • Print the differences between the array elements.

Add your answer

Q6. Print the duplicate elements count in a list?

Ans.

Count duplicate elements in a list of strings.

  • Create a HashMap to store the count of each element in the list.

  • Iterate through the list and update the count in the HashMap.

  • Finally, iterate through the HashMap and print the count of elements with count greater than 1.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at TTK Healthcare

based on 1 interviews
Interview experience
5.0
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter