Upload Button Icon Add office photos

Filter interviews by

Logic Square Front end Developer Interview Questions and Answers

Updated 14 Oct 2024

Logic Square Front end Developer Interview Experiences

1 interview found

Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. React infinite counter without any event starts from 0 and increment in every second to +1.
  • Ans. 

    Use setInterval to increment counter by 1 every second in React.

    • Use useState to store the counter value.

    • Use useEffect to start the interval and clean it up on component unmount.

    • Increment the counter by 1 every second using setInterval.

  • Answered by AI
  • Q2. Rearrangement of an array [1,0,2,4,0,12] output should be [1,2,4,12,0,0]
  • Ans. 

    Rearrange an array by moving all zeros to the end while maintaining the order of non-zero elements.

    • Create a new array to store non-zero elements

    • Iterate through the original array and add non-zero elements to the new array

    • Count the number of zeros in the original array and add them to the new array at the end

  • Answered by AI

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
4d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Logic Square?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview before Dec 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 360 minutes
Round difficulty - Medium

Basically TCS conduct its flagship event named as CODEVITA . And it offers Internship to prefinal (3rd )year students .

  • Q1. 

    Allocate Books Problem Statement

    Given an array of integers arr, where arr[i] represents the number of pages in the i-th book, and an integer m representing the number of students, allocate all the books ...

  • Ans. 

    Allocate books to students in a way that minimizes the maximum number of pages assigned to a student.

    • Iterate through possible allocations and calculate the maximum pages assigned to a student.

    • Find the minimum of these maximums to get the optimal allocation.

    • Return the minimum pages allocated in each test case, or -1 if not possible.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaMust be doing B.TECHTata Consultancy Services (TCS) interview preparation:Topics to prepare for the interview - Data Structure , Algorithms ,DBMS , OOPs ,OSTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : Good understanding of Data Structure and Algorithms 
Tip 2 : Be clear in your Core Subjects.
Tip 3 : Do at least 1 good Project .
Tip 4 : Be humble and speak truth .

Application resume tips for other job seekers

Tip 1 : Simple and Crisp .
Tip 2 : Do host your project and mention the link in the resume .
Tip 3 : Single Page

Final outcome of the interviewSelected

Skills evaluated in this interview

Front end Developer Interview Questions Asked at Other Companies

Q1. Non-Decreasing Array Problem Statement Given an integer array ARR ... read more
Q2. Find Unique Element in Array You have been provided an integer ar ... read more
asked in JUSPAY
Q3. Dijkstra's Shortest Path Problem Statement You are given an undir ... read more
asked in JUSPAY
Q4. Encode N-ary Tree to Binary Tree Problem Statement You are provid ... read more
Q5. Check If Linked List Is Palindrome Given a singly linked list of ... read more

I applied via Naukri.com and was interviewed in Nov 2020. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Remove duplicate elements from an Array
  • Ans. 

    Remove duplicate elements from an Array

    • Use the Set object to remove duplicate elements

    • Convert the Set back to an array using the spread operator

    • If the array contains objects, use a custom comparison function

  • Answered by AI
  • Q2. How can you only accept jpg and png files using HTML5.
  • Ans. 

    Use the accept attribute in the input tag to only allow jpg and png files.

    • Add accept attribute to input tag with 'image/jpeg, image/png' value

    • This will restrict file selection to only jpg and png files

  • Answered by AI
  • Q3. How to center align a div in just one line in css.
  • Ans. 

    Use flexbox to center align a div in just one line in CSS.

    • Set the parent container's display property to flex.

    • Use the justify-content property with the value 'center' to horizontally center the div.

    • Use the align-items property with the value 'center' to vertically center the div.

  • Answered by AI
  • Q4. How to redirect to login page through React Router if the user has not logged in and trying to go to another page through URL.
  • Ans. 

    Use React Router's Redirect component to redirect to login page if user is not logged in.

    • Create a PrivateRoute component that checks if user is logged in

    • If user is not logged in, redirect to login page using Redirect component

    • Wrap the routes that require authentication with PrivateRoute component

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't really worry about success or failure. It is all about how much you learn. I have failed in at least 15-20 interviews (tbh, I stopped counting at a point, because it doesn't matter) over a span of one year before landing my dream job. I started from not knowing anything about React JS to be fluent enough for interviews. Face as many interviews you can. After the interview, note down all the questions you were asked and study on those topics. For react I divided my topics in three category. REACT(Virtual DOM, class vs functions, lifecycle methods and hooks, work flow on a button click, ROUTER, Context, HOC), REDUX(create store, apply middleware, combine reducers, pure functions, redux saga/thunk, also folder structure for redux ), REACT-REDUX(connect(), mapstatetoprops, mapdispatchtoprops, useselector and usedispatch). These are a few areas I focused on, and they all are VERY important. Study, Give Interviews, Learn, Repeat.

Skills evaluated in this interview

Interview Questionnaire 

3 Questions

  • Q1. 1. Basic html schemantics
  • Q2. 2. Pure JS
  • Q3. 3. Angular advance

Interview Preparation Tips

Interview preparation tips for other job seekers - Hard Interview process

Interview Questionnaire 

2 Questions

  • Q1. Bootstrap
  • Q2. Javascript

Interview Questionnaire 

1 Question

  • Q1. What is event bubling
  • Ans. 

    Event bubbling is the process of propagating an event from the innermost element to its parent elements in the DOM hierarchy.

    • Events in JavaScript are triggered on elements and then propagate up the DOM tree.

    • During event bubbling, an event triggered on a child element will also trigger on its parent elements.

    • This allows for event delegation, where a single event handler can be used for multiple elements.

    • Event.stopPropag...

  • Answered by AI

Skills evaluated in this interview

I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Javascript ES6 HTML and Reactjs

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus on Javascript more
Are these interview questions helpful?
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
-

I appeared for an interview in Mar 2024.

Round 1 - Technical 

(1 Question)

  • Q1. 1. Difference between client-side and server side scripting? 2. What is destructuring? 3. What is HOC? 4. Write code to combine nested array 5. Write code to count the number of vowels in a string
  • Ans. 

    1. Client-side scripting runs on the user's browser, while server-side scripting runs on the server. 2. Destructuring is a way to extract values from objects and arrays. 3. HOC stands for Higher Order Component in React. 4. Combining nested arrays involves flattening them into a single array. 5. Counting vowels in a string involves iterating through the characters and checking if they are vowels.

    • Client-side scripting e...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
Not Selected
Round 1 - One-on-one 

(3 Questions)

  • Q1. Basic React Question
  • Q2. Basic Javascript Questions
  • Q3. Coding - Finding missing values from array(Javascript), Increment & decrement count (React)
  • Ans. 

    Finding missing values in array using JavaScript and incrementing/decrementing count in React.

    • Use JavaScript to find missing values in array by comparing with a reference array.

    • Implement logic to increment and decrement count in React based on user interactions.

    • Example: const array = ['apple', 'banana', 'orange']; const referenceArray = ['apple', 'banana', 'grape'];

    • Example: Implement a counter component in React that i...

  • Answered by AI

Skills evaluated in this interview

I applied via Recruitment Consulltant and was interviewed in Jan 2022. There were 5 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 - Aptitude Test 
Round 3 - Coding Test 
Round 4 - Assignment 
Round 5 - HR 

(9 Questions)

  • Q1. What are your salary expectations?
  • Ans. 

    I expect a competitive salary that reflects my skills, experience, and the industry standards for front-end developers.

    • Based on my research, the average salary for front-end developers in this region is between $70,000 and $90,000.

    • I have over 5 years of experience, which positions me towards the higher end of that range.

    • I am also open to discussing benefits and opportunities for growth, which can influence my overall c...

  • Answered by AI
  • Q2. What is your family background?
  • Q3. Share details of your previous job.
  • Q4. Why should we hire you?
  • Q5. Why are you looking for a change?
  • Ans. 

    I'm seeking new challenges to grow my skills and contribute to innovative projects in a dynamic environment.

    • Desire for professional growth: I'm eager to learn new technologies like React and improve my coding skills.

    • Looking for a collaborative environment: I thrive in teams that encourage brainstorming and creativity, like my previous role.

    • Interest in impactful projects: I'm motivated by work that makes a difference, s...

  • Answered by AI
  • Q6. Where do you see yourself in 5 years?
  • Q7. What are your strengths and weaknesses?
  • Q8. Tell me about yourself.
  • Q9. Tell me about your questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Yes i can intresting in this company

Logic Square Interview FAQs

How many rounds are there in Logic Square Front end Developer interview?
Logic Square interview process usually has 1 rounds. The most common rounds in the Logic Square interview process are One-on-one Round.
What are the top questions asked in Logic Square Front end Developer interview?

Some of the top questions asked at the Logic Square Front end Developer interview -

  1. react infinite counter without any event starts from 0 and increment in every s...read more
  2. rearrangement of an array [1,0,2,4,0,12] output should be [1,2,4,12,0...read more

Tell us how to improve this page.

Overall Interview Experience Rating

2/5

based on 1 interview experience

Logic Square Front end Developer Salary
based on 4 salaries
₹3.7 L/yr - ₹7.5 L/yr
18% less than the average Front end Developer Salary in India
View more details

Logic Square Front end Developer Reviews and Ratings

based on 1 review

5.0/5

Rating in categories

-

Skill development

-

Work-life balance

-

Salary

-

Job security

-

Company culture

-

Promotions

-

Work satisfaction

Explore 1 Review and Rating
Software Engineer
37 salaries
unlock blur

₹3.8 L/yr - ₹9.3 L/yr

Devops Engineer
36 salaries
unlock blur

₹3.2 L/yr - ₹8 L/yr

Softwaretest Engineer
18 salaries
unlock blur

₹3.8 L/yr - ₹7 L/yr

Software Developer
14 salaries
unlock blur

₹3.5 L/yr - ₹8.4 L/yr

Data Analyst
11 salaries
unlock blur

₹3.6 L/yr - ₹8 L/yr

Explore more salaries
Compare Logic Square with

TCS

3.6
Compare

Accenture

3.7
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
write
Share an Interview