Tesco
Online AssessmentTescoOnline Assessment
Company-style OA practice sets with full problem statements, sample test cases, and solutions.
๐ฐ Contribute & Earn
Have you recently taken Tesco's Online Assessment or coding test? Share the questions, test cases, or assessment patterns you encountered. Earn SWE180 Coins for every verified submission and use them to unlock other company OA sets and premium tools for free!
Practice Sets
Community OA โ Software Development Engineer (SDE) ยท 0-1 YOE ยท 2026
Vowel-Starting Words in Alphabetically Sorted List
Problem Statement
Write a program that takes a list of words as input and sorts the list of words in alphabetically ascending order. Identify words in the sorted list that start with a vowel (a, e, i, o, u) regardless of their case.
Display each of these words along with their 1-based positions in the sorted list, separated by a single space, each on a separate line.
If no word in the list starts with a vowel, print 0 as the output.
Input Format
- The first line of input contains a list of words with each separated by a single space.
Output Format
- Print each vowel-starting word and its 1-based position in the sorted list separated by a single space, each on a separate line. If no word starts with a vowel, print 0.
Constraints
- 1 <= Number of words <= 1000
- 1 <= Length of each word <= 100
- Words consist of uppercase and lowercase English letters.
Sample Test Cases
Example 1
Input
only god can judge me now
Output
only 6
Explanation
Given list: ["only", "god", "can", "judge", "me", "now"].
Alphabetically sorted list:
1: can
2: god
3: judge
4: me
5: now
6: only
The word "only" starts with the vowel 'o' and is at position 6 (1-based index). Hence the output is 'only 6'.
Example 2
Input
apple banana elephant orange
Output
apple 1 elephant 3 orange 4
Explanation
Sorted list: ["apple", "banana", "elephant", "orange"]. Words starting with vowels are at positions 1, 3, and 4.
Example 3
Input
rhythm sky crypt
Output
0
Explanation
None of the words start with a vowel, so 0 is printed.
Comprehensive Tesco Online Assessment Patterns & Questions
Gain complete transparency into the Tesco online assessment process. Prepare effectively with real, verified coding challenges, test patterns, and platform details.
Tesco Exact Coding Questions
Wondering what top companies are actually asking in their initial screening rounds? We provide exact Data Structures, Algorithms, and logical reasoning questions reported by candidates who recently took the Tesco online tests. Stop guessing and start practicing the right problems.
Test Patterns & Platforms
Understand exactly how many questions to expect, the typical time limits, and the platforms used (e.g., HackerRank, Codility, CodeSignal). Knowing the format in advance is the first step to clearing the Tesco OA.
๐ฅ Why practice these assessments?
- โHigh ROI: Most candidates are filtered out at the OA stage. Passing the OA guarantees an interview.
- โReal Edge Cases: We include not just the problem statements, but the hidden constraints and edge cases you need to pass all test cases.
- โOptimal Solutions: Learn the time and space complexities required to score perfectly in automated grading systems.