CoverPhoto
Perfios Software Solutions logo
Premium Employer

Perfios Software Solutions

Verified
3.6
based on 162 Reviews
Filter interviews by
Senior Technical Team Member
Clear (1)

Perfios Software Solutions Senior Technical Team Member Interview Questions and Answers

Updated 3 Mar 2025

Q1. What is the implementation of a palindrome check in Java without using the reverse() function?

Ans.

Implementing a palindrome check in Java without using the reverse() function.

  • Create a function that takes a string as input.

  • Use two pointers, one starting from the beginning of the string and the other from the end.

  • Compare characters at the two pointers and move them towards each other until they meet or cross.

  • If all characters match, the string is a palindrome.

  • Example: 'racecar' is a palindrome.

  • Example: 'hello' is not a palindrome.

Add your answer
right arrow

Q2. Given an array, how can you rotate it by n positions?

Ans.

Rotate an array of strings by n positions

  • Create a new array and copy elements from original array starting from index n to the end, then copy elements from index 0 to n-1

  • Alternatively, you can use array slicing to achieve the rotation

  • Example: Original array ['a', 'b', 'c', 'd', 'e'], rotate by 2 positions would result in ['c', 'd', 'e', 'a', 'b']

Add your answer
right arrow

Q3. What is the algorithm to reverse a singly linked list?

Ans.

The algorithm to reverse a singly linked list involves iterating through the list and changing the pointers to reverse the direction of the links.

  • Start with three pointers: current, previous, and next.

  • Iterate through the list, updating the next pointer to point to the previous node.

  • Move the previous pointer to the current node and the current pointer to the next node.

  • Continue until the end of the list is reached, then update the head of the list to the last node visited.

Add your answer
right arrow

Q4. Sorting arrays from 0's,1 in java , No sorting algorithm to be used Difficulty: Easy

Ans.

Use counting method to sort array of strings with 0's and 1's.

  • Create a count array to store the frequency of 0's and 1's.

  • Update the original array based on the count array.

  • Example: Input array - ['0', '1', '0', '1', '1'], Output array - ['0', '0', '1', '1', '1']

Add your answer
right arrow
Discover Perfios Software Solutions interview dos and don'ts from real experiences

Q5. Difference between HTTP vs HTTPS indication

Ans.

HTTPS provides secure communication over the internet using encryption, while HTTP does not.

  • HTTPS uses SSL/TLS encryption to secure data transmission, while HTTP does not.

  • HTTPS URLs begin with 'https://' and use port 443, while HTTP URLs begin with 'http://' and use port 80.

  • HTTPS ensures data integrity and authentication, while HTTP does not provide these security measures.

Add your answer
right arrow

Q6. Write a SQL query for employee table having

Ans.

SQL query to retrieve data from employee table

  • Use SELECT statement to retrieve data

  • Specify the columns you want to retrieve

  • Use FROM clause to specify the table name

  • Add any conditions using WHERE clause if needed

Add your answer
right arrow

Q7. Last entry of a table in sql query

Ans.

Use ORDER BY and LIMIT to get last entry in SQL query

  • Use ORDER BY column_name DESC to sort in descending order

  • Use LIMIT 1 to get only the last entry

Add your answer
right arrow

Q8. Internal functioning of hash map

Ans.

Hash map is a data structure that stores key-value pairs and uses a hash function to map keys to their corresponding values.

  • Hash map uses a hash function to determine the index of the key-value pair in the underlying array.

  • Collisions can occur when two keys hash to the same index, which can be resolved using techniques like chaining or open addressing.

  • Hash maps offer constant time complexity O(1) for insertion, deletion, and lookup operations on average.

  • Example: HashMap<Strin...read more

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

Interview Process at Perfios Software Solutions Senior Technical Team Member

based on 1 interviews
Interview experience
5.0
Excellent
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Recently Viewed
CAMPUS PLACEMENT
Christ University, Bangalore
CAMPUS PLACEMENT
MET Institute of Mass Media, Mumbai
INTERVIEWS
The Times of India
No Interviews
INTERVIEWS
Perfios Software Solutions
No Interviews
INTERVIEWS
Perfios Software Solutions
No Interviews
CAMPUS PLACEMENT
St Andrew's College, Mumbai
INTERVIEWS
Perfios Software Solutions
No Interviews
INTERVIEWS
Perfios Software Solutions
No Interviews
INTERVIEWS
Perfios Software Solutions
No Interviews
SALARIES
Black Rock Crushers And Sand Making
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 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