A candidate is solving a problem on dynamic programming for the Infosys coding round. The problem involves overlapping subproblems and optimal substructure. What is the minimum number of steps to solve such problems?
Answer: C
Dynamic programming requires defining subproblems, establishing recurrence relations, and implementing solutions using memoization or tabulation for optimization.
Q.22Hard
A complex algorithmic problem in Infosys placement requires analyzing a graph with weighted edges. What would be the optimal approach for finding the shortest path?
Answer: C
Dijkstra's algorithm is the optimal choice for finding shortest paths in weighted graphs with non-negative weights, with O(E log V) complexity.
Q.23Hard
Which data structure is optimal for implementing LRU (Least Recently Used) cache in Infosys systems?
Answer: B
Hash map provides O(1) access while doubly linked list maintains order. Combined they achieve O(1) for all LRU operations.
Q.24Hard
Which principle of SOLID design is violated if a class depends on multiple unrelated interfaces?
Answer: B
Interface Segregation Principle states that clients should not depend on interfaces they don't use. Multiple unrelated interfaces violate this.
Q.25Hard
In a concurrent system at Infosys, what is a deadlock scenario?
Answer: B
A deadlock occurs when two or more processes are blocked forever, each holding resources the other needs, causing circular dependency.
Advertisement
Q.26Hard
What is the expected behavior when a thread calls the wait() method in a synchronized block at Infosys coding standards?
Answer: B
When wait() is called in a synchronized block, the thread releases the object lock and enters a waiting state until notify() or notifyAll() is called.
Q.27Hard
In a distributed system at Infosys, what is the primary challenge that CAP theorem addresses?
Answer: B
CAP theorem states that distributed systems can guarantee only two out of three properties: Consistency, Availability, and Partition Tolerance.
Q.28Hard
In a HashMap implementation used at Infosys, what happens when the load factor exceeds the threshold?
Answer: B
When the load factor (ratio of entries to capacity) exceeds the threshold, the HashMap is rehashed with approximately double the capacity to maintain performance.
Q.29Hard
An Infosys project uses Apache Kafka for real-time data streaming. If a consumer group has 5 consumers and the topic has 8 partitions, how many consumers will remain idle?
Answer: A
In Kafka, the maximum number of active consumers in a group equals the number of partitions. With 8 partitions and 5 consumers, only 3 will remain idle.
Q.30Hard
In thread-safe programming at Infosys, which Java construct provides the most granular level of locking?
Answer: C
ReentrantReadWriteLock provides separate read and write locks, allowing multiple readers but only one writer, offering finer-grained control than basic synchronized constructs.
Q.31Hard
In a Wipro recruitment scenario, if 1,200 candidates apply for 150 positions, what is the selection ratio?
Answer: A
Selection ratio = (1200150) × 100 = 12.5%. This indicates a highly competitive selection process.
Q.32Hard
Wipro's Enterprise Segment serves large enterprises with complex IT infrastructure. Which industry segment generates the HIGHEST revenue for Wipro?
Answer: B
Financial Services is a major revenue driver for Wipro, including banking, insurance, and capital markets services.
Q.33Hard
If Wipro's attrition rate is 15% annually and the company has 250,000 employees, approximately how many employees would need to be hired to maintain the workforce, assuming no growth?
If a client engages Wipro for end-to-end digital transformation spanning 3 years with an initial investment of $5M, and Wipro typically delivers 25% cost savings annually post-implementation, what would be the approximate savings in Year 2?
Answer: A
Year 1 savings = 5M×251.25M. If calculated on original investment basis without compounding, Year 2 remains approximately $1.25M.
Q.35Hard
In a Wipro interview scenario, a candidate with 5 years of Java development experience applies for a Senior Software Engineer role. Which skill set would be MOST valued in 2024-25?
Answer: A
Modern Wipro recruitment prioritizes full-stack capabilities including cloud platforms, DevOps, and emerging AI technologies alongside core technical skills.
Q.36Hard
If Wipro's training budget per employee is approximately $2,000 annually, and the company has 260,000 employees, what is the approximate total training investment annually?
Answer: A
Annual training investment = 260,000 employees × 2,000=520 million, reflecting Wipro's commitment to continuous employee development and upskilling.
Q.37Hard
In terms of governance, which committee of Wipro's Board oversees technology and digital innovation strategy?
Answer: A
Wipro's Board structure includes a Digital & Technology Committee that oversees technological advancement, digital initiatives, and innovation strategy alignment.
Q.38Hard
If you were assigned to a Wipro project with distributed teams across 5 time zones, what would be your strategy?
Answer: B
Wipro values global collaboration through structured communication, documentation, and thoughtful scheduling practices.
Q.39Hard
What would be an effective approach to handle a complex technical problem in a Wipro interview round?
Answer: B
Wipro values problem-solving methodology, communication, and structured thinking. Breaking down complex problems demonstrates competence.
Q.40Hard
In a Wipro case study interview, how should you approach presenting your solution?
Answer: B
Wipro values structured problem-solving with clear reasoning, assumptions validation, and business-oriented recommendations.