Upload Button Icon Add office photos

Treez

Compare button icon Compare button icon Compare

Filter interviews by

Treez Software Engineer Interview Questions and Answers

Updated 10 May 2024

8 Interview questions

A Software Engineer was asked
Q. How do you debug a memory leak?
Ans. 

Debugging memory leaks involves identifying and fixing areas where memory is not properly released after use.

  • Use tools like Valgrind or AddressSanitizer to detect memory leaks in your application.

  • Check for unfreed memory allocations, such as 'malloc' or 'new' without corresponding 'free' or 'delete'.

  • Review your code for circular references in data structures, which can prevent memory from being released.

  • Implement ...

A Software Engineer was asked
Q. Explain Event Emitter in Node.js.
Ans. 

EventEmitter is a class in Node.js that allows multiple functions to be attached to an event and triggered when the event is emitted.

  • EventEmitter is a core module in Node.js that allows communication between objects in a loosely coupled way.

  • It is used for handling events in Node.js applications.

  • Listeners can be attached to EventEmitter instances using the 'on' method and events can be emitted using the 'emit' meth...

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more
A Software Engineer was asked
Q. Can you declare a variable with the same name using the var keyword?
Ans. 

No, you cannot declare a variable with the same name using var keyword.

  • Variables declared with var keyword can only be declared once within the same scope

  • Attempting to declare a variable with the same name using var will result in a syntax error

A Software Engineer was asked
Q. Explain Promises.
Ans. 

A Promise is an object representing the eventual completion or failure of an asynchronous operation.

  • Promises have three states: pending, fulfilled, and rejected.

  • A fulfilled promise returns a value, while a rejected promise returns an error.

  • Example: const myPromise = new Promise((resolve, reject) => { /* async operation */ });

  • You can handle results using .then() for fulfilled and .catch() for rejected promises.

  • E...

A Software Engineer was asked
Q. What is hoisting?
Ans. 

Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their containing scope during compilation.

  • Variables declared with 'var' are hoisted, but their initialization is not. Example: console.log(x); var x = 5; // undefined

  • Function declarations are fully hoisted, allowing them to be called before their definition. Example: greet(); function greet() { console.log('Hello')...

A Software Engineer was asked
Q. How are Request and Response objects created in Node.js?
Ans. 

Request and Response objects are created in Node.js using the 'http' module.

  • Require the 'http' module in your code

  • Use the 'http.createServer()' method to create a server

  • Access the request and response objects in the callback function

A Software Engineer was asked
Q. What are the differences between let, var, and const?
Ans. 

let, var, and const are all used to declare variables in JavaScript, but they have different scopes and behaviors.

  • let: block-scoped variable, can be reassigned

  • var: function-scoped variable, can be reassigned

  • const: block-scoped variable, cannot be reassigned, but its properties can be modified

Are these interview questions helpful?
A Software Engineer was asked
Q. Explain callback and async await
Ans. 

Callback is a function passed as an argument to another function to be executed later. Async await is a syntax for writing asynchronous code in a synchronous manner.

  • Callback is used in event handling, asynchronous programming, and more.

  • Async await is a modern way to write asynchronous code in a synchronous style.

  • Example: Callback - setTimeout function in JavaScript.

  • Example: Async await - fetching data from an API ...

Treez Software Engineer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed before May 2023. There was 1 interview round.

Round 1 - Technical 

(10 Questions)

  • Q1. Explain Promise
  • Q2. Explain callback and async await
  • Ans. 

    Callback is a function passed as an argument to another function to be executed later. Async await is a syntax for writing asynchronous code in a synchronous manner.

    • Callback is used in event handling, asynchronous programming, and more.

    • Async await is a modern way to write asynchronous code in a synchronous style.

    • Example: Callback - setTimeout function in JavaScript.

    • Example: Async await - fetching data from an API in Ja...

  • Answered by AI
  • Q3. What is hoisting
  • Q4. What is event loop
  • Q5. Explain Event Emitter in nodejs
  • Ans. 

    EventEmitter is a class in Node.js that allows multiple functions to be attached to an event and triggered when the event is emitted.

    • EventEmitter is a core module in Node.js that allows communication between objects in a loosely coupled way.

    • It is used for handling events in Node.js applications.

    • Listeners can be attached to EventEmitter instances using the 'on' method and events can be emitted using the 'emit' method.

    • Ex...

  • Answered by AI
  • Q6. How Request and Response object is created in nodejs
  • Ans. 

    Request and Response objects are created in Node.js using the 'http' module.

    • Require the 'http' module in your code

    • Use the 'http.createServer()' method to create a server

    • Access the request and response objects in the callback function

  • Answered by AI
  • Q7. Difference between let , var , const
  • Q8. Can you declare a variable with same name using var keyword
  • Ans. 

    No, you cannot declare a variable with the same name using var keyword.

    • Variables declared with var keyword can only be declared once within the same scope

    • Attempting to declare a variable with the same name using var will result in a syntax error

  • Answered by AI
  • Q9. What is middleware
  • Q10. How to debug memory leak

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
2w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about Treez?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Naukri.com and was interviewed before Aug 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Technical questions : 1)oops concepts 2)plsql cursors, triggers, procedures 3)quick sort algorithm

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared with your resume. None of the questions were asked out of resume.

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more

Interview Questionnaire 

2 Questions

  • Q1. Tell me about yourself
  • Q2. Reverse string
  • Ans. 

    Reversing a string involves rearranging its characters in the opposite order, which can be done using various methods.

    • Use built-in functions: In Python, you can reverse a string with slicing: `reversed_string = original_string[::-1]`.

    • Iterative approach: Loop through the string from the end to the beginning and build a new string.

    • Using recursion: Define a function that calls itself with a smaller substring until it reac...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Average level interview

I applied via Recruitment Consulltant and was interviewed before Nov 2021. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Assignment 

MCQ's and Coding Problem - 1 related with Java, RDBMS, JS

Round 3 - Technical 

(1 Question)

  • Q1. Basic Question on Java and Project related questions
Round 4 - HR 

(1 Question)

  • Q1. Introduction, Discussion regarding the roles and salary negotiation.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare with basics and be confident with the answers.

I applied via Recruitment Consultant and was interviewed in Aug 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. String builder and string buffer When we create Arrays and when we create linked lists Treeset in Java Java 8 features Static keyword Dynamic method dispatch How to make a immutable cla...
  • Ans. 

    Questions related to Java programming language concepts and features.

    • StringBuilder and StringBuffer are used for efficient string manipulation.

    • Arrays are fixed in size while linked lists can grow dynamically.

    • TreeSet is a sorted set implementation in Java.

    • Java 8 introduced lambda expressions, streams, and functional interfaces.

    • Static keyword is used to create class-level variables and methods.

    • Dynamic method dispatch is ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Just be confident and rock!

Skills evaluated in this interview

Interview Questionnaire 

2 Questions

  • Q1. Apigee
  • Q2. Interal architecture

Interview Questionnaire 

1 Question

  • Q1. Where do you see yourself in 5 years.
Are these interview questions helpful?

Interview Questionnaire 

1 Question

  • Q1. Company hostory

Interview Preparation Tips

Interview preparation tips for other job seekers - Communication skills

Interview Questionnaire 

3 Questions

  • Q1. Java script
  • Q2. Ai
  • Q3. Machine learning

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare with faceprep

I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Tell us about yourself. What are some of your achievments

Interview Preparation Tips

Interview preparation tips for other job seekers - Look for good communciation skills. Have a cheerful attitude

Treez Interview FAQs

How many rounds are there in Treez Software Engineer interview?
Treez interview process usually has 1 rounds. The most common rounds in the Treez interview process are Technical.
What are the top questions asked in Treez Software Engineer interview?

Some of the top questions asked at the Treez Software Engineer interview -

  1. Can you declare a variable with same name using var keyw...read more
  2. How Request and Response object is created in nod...read more
  3. How to debug memory l...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 1 interview experience

Difficulty level

Easy 100%

Duration

Less than 2 weeks 100%
View more
Treez Software Engineer Salary
based on 4 salaries
₹13 L/yr - ₹30 L/yr
137% more than the average Software Engineer Salary in India
View more details
Software Engineer
4 salaries
unlock blur

₹13 L/yr - ₹30 L/yr

Technical Lead
4 salaries
unlock blur

₹24.1 L/yr - ₹30 L/yr

Senior Manager-HR
3 salaries
unlock blur

₹28 L/yr - ₹38 L/yr

Senior Software Engineer
3 salaries
unlock blur

₹18 L/yr - ₹22.1 L/yr

Explore more salaries
Compare Treez with

TCS

3.6
Compare

Accenture

3.7
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
write
Share an Interview