Sw Engineer Interview Questions

540 sw engineer interview questions shared by candidates

Write a Java program to solve the following problem: You are given a list of words and a pattern. Return a list of all words that match the given pattern. A word matches the pattern if there exists a permutation of letters p so that after replacing every letter x in the pattern with p(x), we get the desired word. Example: Input: words = ["abc","deq","mee","aqq","dkd","ccc"], pattern = "abb" Output: ["mee","aqq"]
avatar

staff sw engineer

Interviewed at Visa Inc.

3.8
May 5, 2025

Write a Java program to solve the following problem: You are given a list of words and a pattern. Return a list of all words that match the given pattern. A word matches the pattern if there exists a permutation of letters p so that after replacing every letter x in the pattern with p(x), we get the desired word. Example: Input: words = ["abc","deq","mee","aqq","dkd","ccc"], pattern = "abb" Output: ["mee","aqq"]

Viewing 421 - 430 interview questions

Glassdoor has 540 interview questions and reports from Sw engineer interviews. Prepare for your interview. Get hired. Love your job.