Add office photos
ConsultAdd logo
Engaged Employer

ConsultAdd

Verified
3.7
based on 58 Reviews
Filter interviews by
Fresher
Clear (1)

ConsultAdd Interview Questions and Answers for Freshers

Updated 30 Oct 2024

Q1. Coding ques: Longest subsequence in a string

Ans.

Find the longest subsequence in a string

  • Iterate through the string and keep track of the longest subsequence found so far

  • Use a hashmap to store the last index of each character seen

  • Update the longest subsequence length when a character is repeated

Add your answer
right arrow

Q2. How make a queue using a stack

Ans.

To implement a queue using a stack, use two stacks and simulate the queue operations.

  • Use two stacks, one for enqueue operation and one for dequeue operation.

  • For enqueue operation, simply push elements onto the stack used for enqueueing.

  • For dequeue operation, if the dequeue stack is empty, pop all elements from enqueue stack and push onto dequeue stack.

  • Then pop from the dequeue stack to simulate dequeue operation.

Add your answer
right arrow

Q3. Given array find sum of all elements

Ans.

Calculate sum of all elements in a given array of strings

  • Iterate through the array and convert each element to integer before adding to sum

  • Handle edge cases like empty array or non-numeric elements

  • Return the final sum after iterating through all elements

Add your answer
right arrow

Q4. What is requirement.

Ans.

A requirement is a specific need or expectation that must be met in order to achieve a desired outcome.

  • A requirement is a statement of what a product or service must do or how it must perform.

  • Requirements can be functional (what the product must do) or non-functional (how well it must do it).

  • Requirements should be clear, concise, and measurable.

  • Examples of requirements include: the ability to save and retrieve data, a response time of less than 2 seconds, and compatibility wi...read more

Add your answer
right arrow
Discover ConsultAdd interview dos and don'ts from real experiences

Q5. Remove nose from back of LinkedIn list

Ans.

Use a sorting algorithm to move the nose to the front of the LinkedIn list.

  • Implement a sorting algorithm that moves the nose to the front of the list.

  • Identify the nose in the list and swap it with the first element.

  • Update the LinkedIn list with the nose at the front.

Add your answer
right arrow

Q6. Given an array Reverse array

Ans.

Reverse array of strings

  • Iterate through the array and swap elements from start to end

  • Use two pointers, one at the beginning and one at the end, and swap elements until they meet

Add your answer
right arrow

Q7. Giaven a string Reverse string

Ans.

Reverse a given string

  • Use built-in functions like reverse() or loop through the string in reverse order

  • Create a new string and append characters from the original string in reverse order

  • Convert the string to an array of characters, reverse the array, and then join it back into a string

Add your answer
right arrow

Q8. Create a linked list

Ans.

A linked list is a data structure consisting of nodes where each node points to the next node in the sequence.

  • Create a Node class with data and next pointer

  • Initialize a head pointer to null

  • Add nodes by updating next pointers

  • Traverse the list by following next pointers

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 ConsultAdd for Freshers

based on 7 interviews
Interview experience
4.3
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

Quess Logo
3.9
 • 215 Interview Questions
Johnson Controls Logo
3.6
 • 192 Interview Questions
Delhivery Logo
3.9
 • 180 Interview Questions
Tata Elxsi Logo
3.8
 • 157 Interview Questions
Yes Bank Logo
3.7
 • 143 Interview Questions
View all
Recently Viewed
INTERVIEWS
Giesecke & Devrient
No Interviews
SALARIES
Barclays Global Service Centre
SALARIES
Godrej Industries Group
INTERVIEWS
Giesecke & Devrient
No Interviews
INTERVIEWS
Centaur Pharmaceuticals
No Interviews
INTERVIEWS
Centaur Pharmaceuticals
No Interviews
INTERVIEWS
Centaur Pharmaceuticals
No Interviews
SALARIES
Bird Group
INTERVIEWS
Centaur Pharmaceuticals
No Interviews
INTERVIEWS
Centaur Pharmaceuticals
No Interviews
Top ConsultAdd Interview Questions And Answers
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