Add office photos
Engaged Employer

ZeMoSo Technologies

3.7
based on 172 Reviews
Filter interviews by

CeeDeeYes Interview Questions and Answers

Updated 13 Jan 2025
Popular Designations

Q1. Convert a String into sub-strings based on the number of given rows in a zig-zag pattern and display as a single string P A H N I/P: "paypalishiring" ----> A P L S I. I G Y . I R O/P: "PAHNAPLSIIGYIR"

Ans.

Convert a given string into sub-strings based on the number of rows in a zig-zag pattern and display as a single string.

  • Create an array of strings with the number of rows specified

  • Iterate through the input string and distribute characters in a zig-zag pattern

  • Concatenate the sub-strings row by row to form the final output string

Add your answer

Q2. Count the continuous unique character from given string "aaaaBbbbCDEaAb", O/P: a4 B4 C1 D1 E1 a2 b2

Ans.

Count the continuous unique characters in a given string.

  • Iterate through the string and keep track of the current character and its count

  • If the current character is different from the previous one, print the count and reset it

  • Handle both uppercase and lowercase characters separately

Add your answer

Q3. Getting number of unique elements of array with in-place modification

Ans.

Use hash set to track unique elements while iterating through array and modify array in-place

  • Iterate through array and add elements to hash set to track unique elements

  • Modify array in-place by removing duplicates using hash set

  • Return the size of the hash set as the number of unique elements

Add your answer

Q4. Explain Node.js event driven architecture.

Ans.

Node.js event driven architecture is a non-blocking, asynchronous model where events trigger callbacks.

  • Node.js uses an event loop to handle asynchronous operations.

  • Callbacks are registered for specific events and executed when the event occurs.

  • Event emitters in Node.js trigger events that are handled by listeners.

  • Example: Reading a file asynchronously in Node.js using fs module.

Add your answer
Discover CeeDeeYes interview dos and don'ts from real experiences

Q5. Multiple MCQ on NodeJS Internals

Ans.

Multiple choice questions on NodeJS internals

  • Node.js is an open-source, cross-platform JavaScript runtime environment that executes JavaScript code outside of a web browser.

  • It uses the V8 JavaScript engine from Google, which compiles JavaScript directly into machine code.

  • Node.js has a non-blocking, event-driven architecture that makes it lightweight and efficient for handling I/O operations.

  • Common Node.js internals topics include event loop, modules, buffers, streams, and err...read more

Add your answer

Q6. Binary Search Algorithm

Ans.

Binary search is a divide and conquer algorithm that efficiently finds the target value within a sorted array.

  • Divide the array in half and compare the target value with the middle element

  • If the target value is smaller, search the left half. If larger, search the right half

  • Repeat the process until the target value is found or the subarray is empty

Add your answer

Q7. Valid Parenthesis String

Ans.

Check if a string of parentheses is valid

  • Use a stack to keep track of opening parentheses

  • Iterate through the string and push opening parentheses onto the stack

  • When encountering a closing parenthesis, pop from the stack and check if it matches the corresponding opening parenthesis

  • If stack is empty at the end and all parentheses have been matched, the string is valid

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

Interview Process at CeeDeeYes

based on 9 interviews
3 Interview rounds
Coding Test Round
Technical Round - 1
Technical Round - 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer 1 Interview Questions from Similar Companies

4.2
 • 10 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
70 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