mPokket
10+ KARNAL FREIGHT Interview Questions and Answers
Q1. Given a Linked List Arrange it into Positive and Negative Alternatively
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
Q2. Tech Stack which is currently Using
Currently using a tech stack consisting of Java, Spring Boot, React, and PostgreSQL.
Java
Spring Boot
React
PostgreSQL
Q3. How to Handle Tech Debt
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.
Q4. DB Indexing How it works
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
Q5. Team Handling Experience and Cases
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
Q6. Implement LRU Cache
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.
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.
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
Q8. Write a high level design of the given app feature.
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
Q9. You have to convince a costumer for paying delivery amount for Returning a product
Q10. knowledge and skills used
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
Top HR Questions asked in KARNAL FREIGHT
Interview Process at KARNAL FREIGHT
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month