Premium Employer

Publicis Sapient

3.5
based on 3.2k Reviews
Filter interviews by

Goodmaysys Software Technologies Pvt Ltd | Software Development Company Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Next Greater Element Problem Statement

You are given an array arr of length N. For each element in the array, find the next greater element (NGE) that appears to the right. If there is no such greater element, ...read more

Ans.

The task is to find the next greater element for each element in an array to its right, if no greater element exists, return -1.

  • Iterate through the array from right to left and use a stack to keep track of elements.

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

  • Store the next greater element for each element in the output array.

Add your answer

Q2. Count Substrings with K Distinct Characters

Given a lowercase string 'STR' and an integer K, the task is to count all possible substrings that consist of exactly K distinct characters. These substrings are not ...read more

Ans.

Count substrings with exactly K distinct characters in a given lowercase string.

  • Iterate through all substrings of the given string and count the number of distinct characters in each substring.

  • Keep track of substrings with exactly K distinct characters and increment the count.

  • Return the total count of substrings with exactly K distinct characters.

Add your answer

Q3. How to switch on and off the bulb by one button using JavaScript

Ans.

Use JavaScript to switch on and off a bulb with one button.

  • Create a variable to store the state of the bulb (on/off)

  • Add an event listener to the button

  • Toggle the state of the bulb variable on each button click

  • Update the bulb image or class based on the state of the bulb variable

Add your answer

Q4. How to create table using html, how to color one row, how to merge specific coloum

Ans.

To create a table using HTML, color one row, and merge specific columns, use <table>, <tr>, <td>, and <th> tags with CSS styling.

  • Create a table using <table>, <tr>, <td>, and <th> tags

  • Color one row using CSS by targeting the <tr> element with a specific class or inline style

  • Merge specific columns using the colspan attribute in the <td> or <th> tags

Add your answer
Discover Goodmaysys Software Technologies Pvt Ltd | Software Development Company interview dos and don'ts from real experiences

Q5. What is join in sql, how to join two table and what types of join used

Ans.

Join in SQL is used to combine data from two or more tables based on a related column between them.

  • Types of joins: Inner join, Left join, Right join, Full outer join, Cross join

  • Syntax: SELECT * FROM table1 JOIN table2 ON table1.column = table2.column

  • Example: SELECT * FROM customers JOIN orders ON customers.customer_id = orders.customer_id

Add your answer
Q6. Can you explain JOINS in SQL?
Ans.

JOINS in SQL are used to combine rows from two or more tables based on a related column between them.

  • JOINS are used to retrieve data from multiple tables based on a related column

  • Types of JOINS include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN

  • Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column

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

Interview Process at Goodmaysys Software Technologies Pvt Ltd | Software Development Company

based on 3 interviews
1 Interview rounds
Resume Shortlist Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Junior Associate Interview Questions from Similar Companies

3.3
 • 23 Interview Questions
View all
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
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