Add office photos
Engaged Employer

Internshala

3.9
based on 219 Reviews
Filter interviews by

10+ Tasklance Interview Questions and Answers

Updated 16 Aug 2024
Q1. Clone a Linked List with random pointers

Given a linked list having two pointers in each node. The first one points to the next node of the list, however, the other pointer is random and can point to any node of...read more

View 3 more answers
Q2. Loot Houses

A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.

Input Format :
The first line of input c...read more
View 3 more answers

Q3. What is the Execution Order in SQL Queries?

Ans.

SQL queries are executed in a specific order to ensure accurate results.

  • SQL queries are executed in the following order: FROM, WHERE, GROUP BY, HAVING, SELECT, ORDER BY.

  • The FROM clause specifies the tables involved in the query.

  • The WHERE clause filters the rows based on specified conditions.

  • The GROUP BY clause groups the rows based on specified columns.

  • The HAVING clause filters the grouped rows based on specified conditions.

  • The SELECT clause selects the columns to be displaye...read more

Add your answer

Q4. Which machine learning models did use see and why?

Ans.

I have experience with various machine learning models such as linear regression, decision trees, random forests, and neural networks.

  • Linear regression is used for predicting continuous outcomes.

  • Decision trees are used for classification and regression tasks.

  • Random forests are an ensemble method that combines multiple decision trees for improved accuracy.

  • Neural networks are used for complex pattern recognition and prediction tasks.

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

Q5. Introduce Yourself,Write a code to find repeative characters in a String

Ans.

I am a software engineering student with a passion for coding. Here is a code to find repetitive characters in a string.

  • Iterate through the characters in the string and store their occurrences in a HashMap.

  • Check the HashMap for characters with occurrences greater than 1 to find repetitive characters.

  • Return the repetitive characters as an array of strings.

Add your answer
Q6. System Design Question

Design a website like amazon.

Add your answer
Are these interview questions helpful?

Q7. What is the difference between an activity and fragement in an Android application?

Ans.

Activity is a single screen with a user interface, while Fragment is a portion of the user interface in an activity.

  • Activity is a standalone component that can be launched by an application, while Fragment is a reusable component that can be added to an activity.

  • An activity can contain multiple fragments, but a fragment cannot contain multiple activities.

  • Fragments are used to create a flexible and dynamic UI, while activities are used to manage the lifecycle and navigation of...read more

Add your answer

Q8. What is Left Join?

Ans.

Left Join is a type of join operation in SQL that returns all rows from the left table and the matched rows from the right table.

  • Left Join combines rows from two tables based on a related column between them.

  • It includes all rows from the left table, even if there are no matches in the right table.

  • If there are no matches, NULL values are included for columns from the right table.

  • Example: SELECT * FROM table1 LEFT JOIN table2 ON table1.id = table2.id;

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. The office is located in Gurgaon, will you be able to travel and reach at 9:30 from Monday to Friday?

Ans.

Yes, I will be able to travel and reach the office in Gurgaon at 9:30 from Monday to Friday.

  • I am located in a nearby area and can easily commute to Gurgaon.

  • I have a reliable mode of transportation that allows me to reach the office on time.

  • I am flexible with my schedule and can adjust my timings accordingly.

  • I understand the importance of punctuality and will make sure to be at the office by 9:30.

  • I am committed to this internship opportunity and will prioritize my travel arran...read more

Add your answer

Q10. The 25 Horse Problem.

Ans.

The 25 Horse Problem is a logic puzzle that involves determining the fastest 3 horses out of 25 using minimal races.

  • Divide the 25 horses into groups of 5 and race them to determine the fastest horse in each group.

  • Then race the fastest horses from each group to determine the top 3 fastest horses overall.

  • This approach minimizes the number of races needed to find the top 3 horses.

Add your answer

Q11. Write 2 Push Notifications for Placement Guarantee Courses for the Internshala App

Ans.

Get guaranteed placements with our Placement Guarantee Courses on Internshala App!

  • Enroll in our Placement Guarantee Courses and secure your dream job

  • Boost your chances of getting hired with our Placement Guarantee Courses

  • Join our Placement Guarantee Courses and land your dream internship

  • Guaranteed placements with our specialized Placement Guarantee Courses

Add your answer

Q12. Components and flux or not What is library

Ans.

Components and Flux are important concepts in React for building scalable and maintainable applications. A library is a collection of pre-written code that can be reused in different projects.

  • Components are reusable building blocks in React that encapsulate functionality and can be composed to create complex UIs

  • Flux is a pattern for managing data flow in React applications, ensuring unidirectional data flow and predictable state changes

  • Libraries like React Router and Redux pr...read more

Add your answer

Q13. How does a linked list function

Ans.

A linked list is a data structure where each element points to the next element in the sequence.

  • Each element in a linked list, called a node, contains data and a reference to the next node in the sequence.

  • Linked lists can be singly linked (each node points to the next node) or doubly linked (each node points to both the next and previous nodes).

  • To traverse a linked list, you start at the head node and follow the references to the next nodes until you reach the end (where the ...read more

Add your answer

Q14. What is pointers in c

Ans.

Pointers in C are variables that store memory addresses of other variables.

  • Pointers are used to access and manipulate memory directly.

  • They are denoted by an asterisk (*) before the variable name.

  • Example: int *ptr; // declares a pointer to an integer variable

Add your answer

Q15. Tell me about arrays

Ans.

Arrays are a data structure that stores a collection of elements of the same data type in contiguous memory locations.

  • Arrays have a fixed size determined at the time of declaration.

  • Elements in an array are accessed using an index starting from 0.

  • Arrays can store primitive data types or objects.

  • Example: String[] names = {"Alice", "Bob", "Charlie"};

Add your answer

Q16. What is str in c

Ans.

str in C is a data type used to represent strings as arrays of characters.

  • str in C is typically declared as an array of characters, terminated by a null character '\0'.

  • Functions like strcpy(), strcmp(), and strlen() are commonly used with str in C.

  • Example: char str[10] = "hello"; // Declaration of a string in C

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

Interview Process at Tasklance

based on 17 interviews in the last 1 year
Interview experience
4.3
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.5
 • 646 Interview Questions
4.0
 • 463 Interview Questions
4.2
 • 345 Interview Questions
4.2
 • 203 Interview Questions
4.0
 • 202 Interview Questions
4.3
 • 168 Interview Questions
View all
Top Internshala Interview Questions And Answers
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
Get AmbitionBox app

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