Pegasystems
10+ Interview Questions and Answers
Q1. Java HashMap internals ? what happend when hashcode returns always 1 ?
Explaining Java HashMap internals and behavior when hashcode always returns 1.
HashMap uses hashcode to calculate the index of the bucket where the key-value pair will be stored.
If hashcode always returns 1, all key-value pairs will be stored in the same bucket resulting in poor performance.
In this case, HashMap will use a linked list to store multiple key-value pairs in the same bucket.
Retrieving a value from a HashMap with a poor hashcode function will result in a linear sea...read more
Q2. Find common ancestor of 2 nodes in a binary tree ?
Find common ancestor of 2 nodes in a binary tree
Traverse the tree from root to both nodes and store the paths
Compare the paths to find the last common node
Use recursion to traverse the tree and find the common ancestor
Q3. Sort a binary array of 0 1 0 0 1 0 1 1 1 0 1 0 0 1 0 0 0 1 0 ? Optimise the code ?
Sort a binary array of 0s and 1s and optimize the code.
Use two pointers approach to swap 0s and 1s
Avoid using sorting algorithms like bubble sort or selection sort
Use a single loop to traverse the array and swap elements
Use XOR operation to swap elements
Q4. Find min element of stack in O(1) time ?
To find the minimum element of a stack in O(1) time, maintain a separate stack for minimum values.
Create a separate stack to store minimum values
Push the minimum value onto the minimum stack every time a new value is pushed onto the main stack
Pop the minimum stack every time the main stack pops a value
The top of the minimum stack will always contain the minimum value
Q5. Futer goal, how to handle VIP users , hardware and software issues for mac & windows systems
VIP users require special attention for hardware and software issues on both Mac and Windows systems.
Create a dedicated support team for VIP users
Establish a priority system for VIP tickets
Provide personalized support and communication
Ensure quick response times and resolution
Implement proactive monitoring and maintenance
Maintain up-to-date knowledge of Mac and Windows systems
Collaborate with vendors and other IT teams for complex issues
Q6. How to handle senior resources who are anti-agilist
Address their concerns and involve them in the process to gain their buy-in.
Listen to their concerns and understand their perspective.
Explain the benefits of agile and how it can improve their work.
Involve them in the agile process and give them ownership of their tasks.
Provide training and support to help them adapt to the new way of working.
Celebrate their successes and recognize their contributions to the team.
Be patient and persistent in promoting the agile mindset.
Consid...read more
Q7. What is the binary search algorithm, and how is it implemented in data structures?
Q8. What are the changes in Scrum Guide
The Scrum Guide was updated in November 2020 with changes to the framework.
Product Goal added as a new artifact
Daily Scrum questions changed to focus on progress towards Sprint Goal
Sprint Review includes discussion of the Product Goal
Sprint Retrospective includes a section on improving the way of working
Role of Development Team renamed to Development
Role of Development Team expanded to include accountability for quality
Role of Product Owner expanded to include accountability ...read more
Q9. scrum guide changes from the last version
Scrum Guide changes were made in November 2020
Product Goal added as a new artifact
Commitment to Sprint Goal added
Development Team renamed to Developers
Daily Scrum questions changed
Time-box for Sprint Planning increased
Retrospective improvements suggested
Q10. Explain projects and methodologies
Projects and methodologies are the backbone of software development. They define the approach and process of software development.
Projects are the specific tasks or goals that need to be accomplished within a defined timeline and budget.
Methodologies are the set of principles, practices, and procedures used to manage a project from start to finish.
Agile, Waterfall, and DevOps are some of the popular methodologies used in software development.
Each methodology has its own advan...read more
Q11. what is html, css?
HTML and CSS are languages used for creating and styling web pages.
HTML stands for HyperText Markup Language and is used for creating the structure of a web page.
CSS stands for Cascading Style Sheets and is used for styling the elements on a web page.
HTML uses tags to define different elements like headings, paragraphs, images, and links.
CSS is used to control the layout, colors, fonts, and other visual aspects of a web page.
Both HTML and CSS are essential for creating visual...read more
More about working at Pegasystems
Top HR Questions asked in null
Interview Process at null
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month