Add office photos
Sigmoid logo
Engaged Employer

Sigmoid

Verified
3.3
based on 122 Reviews
Video summary
Filter interviews by
Fresher
Experienced
Clear (1)

Sigmoid Interview Questions and Answers for Freshers

Updated 23 Nov 2024
Popular Designations

Q1. in an integer array where element represent stock price and index represent days how to detect the best day to buy and best day to sell in O(N)

Ans.

To detect the best day to buy and sell stock in an integer array representing stock prices and days in O(N).

  • Iterate through the array and keep track of the minimum price seen so far.

  • Calculate the profit by subtracting the current price from the minimum price.

  • Update the maximum profit and best buy/sell days accordingly.

  • Return the best buy and sell days to maximize profit.

Add your answer
right arrow

Q2. 1 - where is bean annotation used in springboot ?... In class or method

Ans.

Bean annotation is used in Spring Boot on class or method to indicate that a method produces a bean to be managed by the Spring container.

  • Bean annotation is used on methods within a class to indicate that the method produces a bean to be managed by the Spring container.

  • It can also be used at the class level to indicate that the class itself is a Spring bean.

  • For example, @Bean annotation can be used on a method that creates and returns a DataSource bean in a configuration clas...read more

Add your answer
right arrow

Q3. which access modifier to restrict interface method access to only derived or implemented classes

Ans.

Protected access modifier restricts interface method access to only derived or implemented classes.

  • Use 'protected' access modifier to restrict access to only derived or implemented classes

  • Protected members are accessible within the same package or by subclasses

  • Example: 'protected void methodName() {}' in an interface

Add your answer
right arrow

Q4. how does one services interact with other in microservice

Ans.

Microservices interact with each other through APIs, messaging, or events.

  • Microservices communicate with each other through APIs, which can be synchronous or asynchronous.

  • Messaging systems like RabbitMQ or Kafka can be used for communication between microservices.

  • Events can be used for loosely coupled communication between microservices.

  • Service discovery mechanisms like Eureka or Consul help microservices locate and communicate with each other.

  • API gateways can be used to mana...read more

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

Q5. NextGreater element in array using Stack(can find on leetcode)

Ans.

Using a stack to find the next greater element in an array of strings.

  • Iterate through the array from right to left.

  • Push elements onto the stack and compare with the top element to find the next greater element.

  • Pop elements from the stack until a greater element is found or stack is empty.

Add your answer
right arrow

Q6. check if there is a loop in linked list

Ans.

Check for a loop in a linked list by using two pointers moving at different speeds.

  • Use two pointers, one moving at a normal speed and another moving at double the speed.

  • If there is a loop, the two pointers will eventually meet at some point.

  • Alternatively, use a hash set to store visited nodes and check for duplicates.

Add your answer
right arrow

Q7. in an integer array find the next greatest number for all and display in O(N)

Ans.

Find the next greatest number for each integer in an array in O(N) time complexity.

  • Iterate through the array from right to left

  • Use a stack to keep track of potential next greatest numbers

  • Pop elements from the stack that are less than the current element and update their next greatest number to the current element

  • Push the current element onto the stack

  • Repeat until all elements have a next greatest number

Add your answer
right arrow

Q8. Python programming how to count vowels

Ans.

Python program to count vowels in a given string

  • Iterate through the string and check if each character is a vowel (a, e, i, o, u)

  • Increment a counter for each vowel found

  • Return the total count of vowels

Add your answer
right arrow

Q9. how to install operating system

Ans.

To install an operating system, you need to boot from installation media and follow the on-screen instructions.

  • Create a bootable installation media (USB, DVD, etc.)

  • Insert the installation media into the computer

  • Boot the computer from the installation media

  • Follow the on-screen instructions to select language, partition the disk, and install the OS

  • Reboot the computer after installation is complete

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

based on 10 interviews
Interview experience
3.3
Average
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

Deloitte Logo
3.8
 • 1.7k Interview Questions
Genpact Logo
3.8
 • 1.5k Interview Questions
Reliance Industries  Logo
4.0
 • 642 Interview Questions
CGI Group Logo
4.0
 • 365 Interview Questions
HDFC Life Logo
4.0
 • 173 Interview Questions
FactSet Logo
3.9
 • 157 Interview Questions
View all
Recently Viewed
INTERVIEWS
Acuity Knowledge Partners
No Interviews
SALARIES
Calderys India Refractories
INTERVIEWS
Acuity Knowledge Partners
No Interviews
INTERVIEWS
Cochin International Airport
No Interviews
INTERVIEWS
Amber Enterprises India
No Interviews
SALARIES
Calderys India Refractories
INTERVIEWS
Luminous Power Technologies
No Interviews
INTERVIEWS
Swelect Energy Systems
No Interviews
SALARIES
Calderys India Refractories
INTERVIEWS
Sigmoid
No Interviews
Top Sigmoid 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