Upload Button Icon Add office photos

Treez

Compare button icon Compare button icon Compare

Filter interviews by

Treez Software Engineer Interview Questions, Process, and Tips

Updated 10 May 2024

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
  • Ans. 

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

    • Promises are used to handle asynchronous operations in JavaScript.

    • A Promise can be in one of three states: pending, fulfilled, or rejected.

    • Promises can be chained using .then() method to handle success and failure.

    • Example: new Promise((resolve, reject) => { ... }).then(result => { ... }).catch(error => { ... });

  • Answered by AI
  • 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
  • Ans. 

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

    • Variable and function declarations are hoisted to the top of their scope.

    • Only declarations are hoisted, not initializations.

    • Function declarations take precedence over variable declarations.

    • Example: console.log(x); var x = 5; // Output: undefined

  • Answered by AI
  • Q4. What is event loop
  • Ans. 

    Event loop is a mechanism in programming that allows for asynchronous execution of code.

    • Event loop is commonly used in JavaScript to handle asynchronous operations.

    • It allows for non-blocking I/O operations by continuously checking the event queue.

    • Event loop ensures that the program does not get stuck waiting for a single operation to complete.

  • Answered by AI
  • 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
  • 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

  • Answered by AI
  • 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
  • Ans. 

    Middleware is software that acts as a bridge between different applications or components, allowing them to communicate and work together.

    • Middleware facilitates communication between different software components

    • It can handle tasks such as data conversion, security, and logging

    • Examples include message brokers like RabbitMQ, web servers like Apache Tomcat, and API gateways like Kong

  • Answered by AI
  • Q10. How to debug memory leak
  • Ans. 

    Debugging memory leaks involves identifying the source of the leak and fixing it to free up memory.

    • Use memory profiling tools like Valgrind or Instruments to detect memory leaks

    • Check for unreleased memory allocations in the code

    • Look for circular references or retain cycles in object-oriented programming languages

    • Use tools like LeakSanitizer in C/C++ programs to detect memory leaks

    • Review code for potential memory leaks,

  • Answered by AI

Skills evaluated in this interview

Interview questions from similar companies

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 140 minutes
Round difficulty - Medium

Test timing was at 2:00 pm , it was conducted in a college and the environment was good for the test. Camera was a primary part of test, so no suspicious activity.

  • Q1. 

    Sum of Two Numbers Represented as Arrays

    Given two numbers in the form of two arrays where each element of the array represents a digit, calculate the sum of these two numbers and return this sum as an ar...

  • Ans. 

    Given two numbers represented as arrays, calculate their sum and return the result as an array.

    • Iterate through the arrays from right to left, adding digits and carrying over if necessary

    • Handle cases where one array is longer than the other by considering the remaining digits

    • Ensure the final sum array does not have any leading zeros

  • Answered by AI
Round 2 - Face to Face 

Round duration - 20 minutes
Round difficulty - Easy

The round was conducted at around 12 p.m. I was called at the college location and then it was conducted. The interviewer was quite polite and frank.

Round 3 - HR 

Round duration - 8 minutes
Round difficulty - Easy

This round was conducted right after finishing and clearing the technical round at the same place and on the same day.

Interview Preparation Tips

Eligibility criteriaAbove 60 %Wipro Limited interview preparation:Topics to prepare for the interview - OOPS, Data Structures, Database Concepts, Coding problemsTime required to prepare for the interview - 2-3 monthsInterview preparation tips for other job seekers

Tip 1 : Practice atleast 2-3 Coding problems daily so your logic building becomes stronger.
Tip 2 : Exercise problems based on OOPS concepts and others too.
Tip 3 : If you can have your own project built, then it's the major point and will act as a plus point.

Application resume tips for other job seekers

Tip 1 : Your resume should be in standard form, short and simple will be more effective.
Tip 2 : Whatever you have learned, you need to mention it in your resume as that will be your primary source of selection and having project on your resume is important.

Final outcome of the interviewSelected

Skills evaluated in this interview

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

Interview Questionnaire 

1 Question

  • Q1. Hr

Interview Preparation Tips

Interview preparation tips for other job seekers - You should be true to what you are putting before the interviewer . Try to put your ideas Add something you did well in your career like in projects /research which you know very well and versed in concepts about it for open interview so that interviewer can get bandwidth where he can ask questions from. This is simply a key .

I applied via Campus Placement and was interviewed in Dec 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. 1.Describe a situation where you have taken a quick decision and failed, and a situation where you succeeded. 2. What is a skill you have tried to achieve but failed? 3. Describe a decision you have taken ...

Interview Preparation Tips

Interview preparation tips for other job seekers - 1. Always try to take risk in small problems . When you face the consequences, you would be able to tackle bigger problems.
2. Every skill you learn, even if you didn't excel in it is not to be considered a waste of time/failure, you learn something simply by participating.

I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Tell me about Yourself, some questions related to machine learning, and I was asked more questions to differentiate like differences between ml and ai, python and c, c and java and procedural and functiona...

Interview Preparation Tips

Interview preparation tips for other job seekers - Get a complete grip on your resume and be confident about what you say, If you don't know the answer it is okay to agree that you don't know the answer so that interviewer can ask the next questions.

I was interviewed before Jun 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 180 minutes
Round difficulty - Easy

It was an mcq + coding round. There were aptitude and ouput based question in mcq. And coding questions were easy

  • Q1. 

    Find the Duplicate Number Problem Statement

    Given an integer array 'ARR' of size 'N' containing numbers from 0 to (N - 2). Each number appears at least once, and there is one number that appears twice. Yo...

  • Ans. 

    Find the duplicate number in an array of integers from 0 to (N-2).

    • Iterate through the array and keep track of the frequency of each number using a hashmap.

    • Return the number with a frequency greater than 1 as the duplicate number.

    • Time complexity can be optimized to O(N) using Floyd's Tortoise and Hare algorithm.

  • Answered by AI
  • Q2. 

    Reverse String Operations Problem Statement

    You are provided with a string S and an array of integers A of size M. Your task is to perform M operations on the string as specified by the indices in array A...

  • Ans. 

    Given a string and an array of indices, reverse substrings based on the indices to obtain the final string.

    • Iterate through the array of indices and reverse the substrings accordingly

    • Ensure the range specified by each index is non-empty

    • Return the final string after all operations are completed

  • Answered by AI
Round 2 - Video Call 

Round duration - 60 Minutes
Round difficulty - Easy

It was technical + hr round. there were 2 people as interviewer. They stated from intro and asked some basic puzzles and hr questions. After that they asked about my projects, technologies and some ds algo and dbms questions.

Interview Preparation Tips

Eligibility criterianaAccenture interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic ProgrammingTime required to prepare for the interview - 6 MonthsInterview preparation tips for other job seekers

Tip 1 : Practice aptitude
Tip 2 : Focus on practicing coding
Tip 3 : Learn from mistakes

Application resume tips for other job seekers

Tip 1 : Mention some projects that you have done
Tip 2 : Try to have skills that are required for the role

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Job Portal and was interviewed before Jan 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Oops Concepts,JAVA 8

Interview Preparation Tips

Interview preparation tips for other job seekers - Quite simple and easy. 1st round technical.2nd round HR

I applied via Campus Placement and was interviewed before Aug 2021. There were 2 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 - Coding Test 

Easy DSA questions and some questions on resume

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't join if you are a fresher and want to grow as a developer. I had resigned that time I am writing this review

I applied via Campus Placement and was interviewed in Mar 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. How do you get the second to last element from a SQL table?
  • Ans. 

    To get the second to last element from a SQL table, use the OFFSET-FETCH clause.

    • Use the ORDER BY clause to sort the table in descending order.

    • Use the OFFSET-FETCH clause to skip the last row and fetch the second to last row.

    • Example: SELECT column_name FROM table_name ORDER BY column_name DESC OFFSET 1 ROWS FETCH NEXT 1 ROWS ONLY;

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice by building a simple full stack web application.

Skills evaluated in this interview

Interview Questionnaire 

6 Questions

Compare Treez with

TCS

3.7
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview