Add office photos
Cloud Analogy logo
Engaged Employer

Cloud Analogy

Verified
3.6
based on 158 Reviews
Filter interviews by
Software Developer
Fresher
Clear (2)

Cloud Analogy Software Developer Interview Questions and Answers for Freshers

Updated 29 May 2024

Q1. Reverse Linked List Problem Statement

Given a singly linked list of integers, return the head of the reversed linked list.

Example:

Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed linked list: 4 -> 3 -> 2...read more
Ans.

Reverse a singly linked list of integers and return the head of the reversed linked list.

  • Iterate through the linked list and reverse the pointers to point to the previous node.

  • Keep track of the current, previous, and next nodes while reversing the linked list.

  • Update the head of the reversed linked list as the last node encountered during reversal.

Add your answer
right arrow

Q2. Count Subsequences Problem Statement

Given an integer array ARR of size N, your task is to find the total number of subsequences in which all elements are equal.

Explanation:

A subsequence of an array is derive...read more

Ans.

The task is to find the total number of subsequences in which all elements are equal in an integer array.

  • Iterate through the array and count the frequency of each element.

  • For each element, calculate the number of subsequences with all elements equal using the formula (frequency * (frequency - 1) / 2).

  • Sum up the counts for all elements and return the result modulo 10^9 + 7.

Add your answer
right arrow

Q3. Star Pattern Generation

Develop a function to print star patterns based on the given number of rows 'N'. Each row in the pattern should follow the format demonstrated in the example.

The picture illustrates an ...read more

Ans.

Function to print star patterns based on the given number of rows 'N'.

  • Iterate through each row from 1 to N

  • For each row, print spaces (N-row) followed by stars (2*row-1)

  • Repeat until all rows are printed

Add your answer
right arrow

Q4. Q1. Palindrome numbers in a given range.

Ans.

A program to find palindrome numbers in a given range.

  • Iterate through the given range of numbers

  • Convert each number to a string and check if it is equal to its reverse

  • If yes, add it to the list of palindrome numbers

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

Q5. Q2. Carry generated in a sum of two numbers.

Ans.

Carry is generated when the sum of two digits is greater than 9.

  • Carry is a digit that is carried over to the next place value in the sum.

  • For example, in the sum 56 + 78, the carry generated is 1 (5+7=12, carry 1, 6+8+1=15).

  • Carry is important in addition of large numbers and in binary addition.

Add your answer
right arrow

Q6. Explain Campaigns, Promotions, and Coupons.

Ans.

Campaigns, Promotions, and Coupons are marketing strategies used to attract customers and increase sales.

  • Campaigns are strategic marketing efforts to promote a product or service over a specific period of time.

  • Promotions are temporary incentives offered to customers to encourage purchases, such as discounts or free gifts.

  • Coupons are vouchers that entitle the holder to a discount on a particular product or service.

  • Examples: Black Friday campaign, Buy One Get One Free promotion...read more

Add your answer
right arrow

Q7. What is Global JS.

Ans.

Global JS refers to JavaScript variables or functions that are accessible from anywhere in the code.

  • Global JS variables are declared outside of any function and can be accessed from any part of the code.

  • Global JS functions are defined without being enclosed within another function and can be called from anywhere in the code.

  • Using global variables or functions can lead to potential conflicts and security risks.

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 Cloud Analogy Software Developer for Freshers

based on 2 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

Top Software Developer Interview Questions from Similar Companies

NetApp Logo
3.9
 • 38 Interview Questions
Jio Logo
3.9
 • 31 Interview Questions
Goibibo Logo
4.3
 • 15 Interview Questions
View all
Recently Viewed
LIST OF COMPANIES
Discover companies
Find best workplace
INTERVIEWS
HCLTech
No Interviews
INTERVIEWS
Larsen & Toubro Limited
No Interviews
INTERVIEWS
Tech Mahindra
No Interviews
REVIEWS
Bechtel
No Reviews
INTERVIEWS
Deloitte
10 top interview questions
INTERVIEWS
NTT Data
10 top interview questions
INTERVIEWS
Cloud Analogy
No Interviews
INTERVIEWS
Cloud Analogy
No Interviews
INTERVIEWS
TCS
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