Add office photos
Paxcom India logo
Employer?
Claim Account for FREE

Paxcom India

4.0
based on 61 Reviews
Filter interviews by
Clear (1)

Paxcom India Software Developer Interview Questions and Answers

Updated 5 Feb 2024

Q1. Digit Count In Range Problem Statement

Given an integer K, and two numbers A and B, count the occurrences of the digit K in the range [A, B].

Include both the lower and upper limits in the count.

Input:

The fir...read more
Ans.

Count occurrences of a digit in a given range.

  • Iterate through the range [A, B] and count occurrences of digit K.

  • Convert integers to strings for easier digit comparison.

  • Handle edge cases like when A or B is equal to K.

  • Optimize by considering the position of K in the range.

View 1 answer
right arrow

Q2. Find Two Missing Numbers Problem Statement

Given an array of unique integers where each element is in the range [1, N], and the size of the array is (N - 2), there are two numbers missing from this array. Your ...read more

Ans.

Given an array of unique integers with two missing numbers, identify and return the missing numbers.

  • Iterate through the array and mark the presence of each number in a separate array.

  • Find the missing numbers by checking which numbers are not present in the marked array.

  • Return the missing numbers in increasing order.

Add your answer
right arrow

Q3. Missing Number Problem Statement

You are provided with an array named BINARYNUMS consisting of N unique strings. Each string represents an integer in binary, covering every integer from 0 to N except for one. Y...read more

Ans.

Find the missing integer in binary form from an array of unique binary strings.

  • Iterate through the binary strings and convert them to integers.

  • Calculate the sum of all integers from 0 to N using the formula (N*(N+1))/2.

  • Subtract the sum of integers in the array from the total sum to find the missing integer.

  • Convert the missing integer to binary form and return it as a string.

Add your answer
right arrow

Q4. Problem Statement: Largest Island

You are provided with a non-empty grid consisting of only 0s and 1s. Your task is to determine the maximum area of an island within the given grid.

An island consists of a clus...read more

Ans.

Find the maximum area of an island in a grid of 0s and 1s.

  • Iterate through the grid and perform depth-first search (DFS) to find connected 1s.

  • Keep track of the area of each island found and return the maximum area.

  • Consider all four directions (horizontal, vertical, and diagonal) while exploring the island.

  • Handle edge cases like grid boundaries and already visited cells during DFS.

  • If no island is present, return 0 as the maximum area.

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

Q5. Reverse the String Problem Statement

You are given a string STR which contains alphabets, numbers, and special characters. Your task is to reverse the string.

Example:

Input:
STR = "abcde"
Output:
"edcba"

Input...read more

Ans.

Reverse a given string containing alphabets, numbers, and special characters.

  • Iterate through the string from the end to the beginning and append each character to a new string.

  • Alternatively, you can use built-in functions like reverse() or slicing in some programming languages.

  • Remember to handle different types of characters like alphabets, numbers, and special characters.

  • Ensure to consider the constraints on the input size and number of test cases.

Add your answer
right arrow

Q6. Character Frequency Problem Statement

You are given a string 'S' of length 'N'. Your task is to find the frequency of each character from 'a' to 'z' in the string.

Example:

Input:
S : abcdg
Output:
1 1 1 1 0 0 ...read more
Ans.

The task is to find the frequency of each character from 'a' to 'z' in a given string.

  • Create an array of size 26 to store the frequency of each character from 'a' to 'z'.

  • Iterate through the string and increment the count of the corresponding character in the array.

  • Print the array of frequencies as the output for each test case.

Add your answer
right arrow

Q7. Circular Move Problem Statement

You have a robot currently positioned at the origin (0, 0) on a two-dimensional grid, facing the north direction. You are given a sequence of moves in the form of a string of len...read more

Ans.

Determine if a robot's movement path is circular on a 2D grid given a sequence of moves in the form of a string.

  • Create a variable to track the robot's position (x, y) and direction (north, east, south, west).

  • Iterate through the move sequence and update the position and direction based on the current move.

  • Check if the robot returns to the starting position after completing the move sequence.

  • Return true if the robot ends up at the starting position, false otherwise.

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 tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

Amdocs Logo
3.7
 • 107 Interview Questions
Visa Logo
3.5
 • 18 Interview Questions
Coforge Logo
3.3
 • 14 Interview Questions
View all
Recently Viewed
LIST OF COMPANIES
Credit Bajaar
Overview
PHOTOS
InsuranceDekho
3 office photos
REVIEWS
Keolis Hyderabad Metro
No Reviews
INTERVIEWS
Paxcom India
No Interviews
INTERVIEWS
DATAMARK BPO SERVICE (P) LTD
No Interviews
INTERVIEWS
Grant Thornton Bharat
No Interviews
INTERVIEWS
Bhanzu
No Interviews
INTERVIEWS
Paxcom India
No Interviews
INTERVIEWS
Bhanzu
No Interviews
INTERVIEWS
Bhanzu
No Interviews
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