Premium Employer

mPokket

4.1
based on 650 Reviews
Filter interviews by

10+ KARNAL FREIGHT Interview Questions and Answers

Updated 20 Nov 2024

Q1. Given a Linked List Arrange it into Positive and Negative Alternatively

Ans.

Arrange a Linked List into Positive and Negative Nodes Alternately

  • Traverse the Linked List and separate positive and negative nodes into two separate lists

  • Merge the two lists alternately to form the final arrangement

  • Ensure to handle cases where one list is longer than the other

Add your answer

Q2. Tech Stack which is currently Using

Ans.

Currently using a tech stack consisting of Java, Spring Boot, React, and PostgreSQL.

  • Java

  • Spring Boot

  • React

  • PostgreSQL

Add your answer

Q3. How to Handle Tech Debt

Ans.

Tech debt should be managed by prioritizing, tracking, and addressing it regularly.

  • Prioritize tech debt based on impact on product, codebase, and team productivity.

  • Track tech debt using tools like Jira or Trello to ensure visibility and accountability.

  • Address tech debt incrementally by allocating time in sprints or dedicated tech debt cleanup sprints.

  • Involve the team in identifying and addressing tech debt to foster a culture of continuous improvement.

Add your answer

Q4. DB Indexing How it works

Ans.

DB indexing is a technique used to improve the performance of database queries by creating data structures that allow for faster data retrieval.

  • Indexes are created on specific columns in a database table to speed up data retrieval.

  • When a query is executed, the database engine uses the index to quickly locate the rows that match the query criteria.

  • Types of indexes include clustered, non-clustered, unique, and composite indexes.

  • Regularly updating statistics and maintaining inde...read more

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

Q5. Team Handling Experience and Cases

Ans.

I have 5 years of experience leading technical teams, handling team dynamics, delegating tasks, and resolving conflicts.

  • Led a team of 10 developers in a software development project, ensuring timely delivery and quality output

  • Managed team members with diverse skill sets, assigning tasks based on individual strengths and weaknesses

  • Resolved conflicts within the team by facilitating open communication and finding mutually agreeable solutions

Add your answer

Q6. Implement LRU Cache

Ans.

LRU Cache is a data structure that stores the most recently used items, discarding the least recently used items when full.

  • Use a combination of a doubly linked list and a hashmap to implement LRU Cache efficiently.

  • Keep track of the most recently used item by moving it to the front of the linked list.

  • When the cache is full, remove the least recently used item from the end of the linked list and the hashmap.

  • Ensure constant time complexity for both get and put operations.

Add your answer

Q7. Difference between Authentication and Authorisation. What Coroutine makes it different than threads. Small DS algorithm. Practical usage of viewmodel and coroutine. What is livedata.

Ans.

Authentication is the process of verifying the identity of a user, while authorization is the process of granting access to specific resources.

  • Authentication ensures that the user is who they claim to be, usually through credentials like username and password.

  • Authorization determines what actions a user is allowed to perform on a system or resource.

  • Coroutines are lightweight threads that allow for asynchronous programming in a more sequential and structured manner.

  • Coroutines ...read more

Add your answer

Q8. Write a high level design of the given app feature.

Ans.

Design a feature for an app

  • Identify the purpose and goals of the feature

  • Define the user flow and interactions

  • Consider the technical requirements and constraints

  • Design the UI/UX

  • Plan the data model and storage

  • Consider scalability and performance

  • Implement and test the feature

Add your answer

Q9. You have to convince a costumer for paying delivery amount for Returning a product

Add your answer

Q10. knowledge and skills used

Ans.

Knowledge and skills used in previous roles to effectively manage teams and achieve goals.

  • Strong leadership skills demonstrated through successful team management

  • Effective communication skills to ensure clear direction and expectations

  • Ability to problem solve and make decisions under pressure

  • Experience in budget management and financial analysis

  • Proficiency in project management tools and techniques

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

Interview Process at KARNAL FREIGHT

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

Top Interview Questions from Similar Companies

3.6
 • 377 Interview Questions
4.0
 • 242 Interview Questions
3.6
 • 178 Interview Questions
3.6
 • 173 Interview Questions
4.1
 • 153 Interview Questions
4.3
 • 128 Interview Questions
View all
Top mPokket 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