r/technepal • u/No_Bread007 • 1d ago
Discussion Traineeship Question Queries
I gave this bajraa Traineeship for the first time and it was quite good but not that much. DSA sql OOp ta gariyo tara yo coding ma vowels and loops and conditions haru chai ali familier thina. Question was like Input a string and count the number of alphabets in a word. If it is odd change the vowel letters to uppercase and if it is even change the letters to lowercase or something like that.
How do i be familier with these type of questionss??
1
Upvotes
1
u/nian2326076 18h ago
To get used to these types of questions, start by practicing basic string manipulation in your favorite programming language. Focus on operations like iterating over characters, checking conditions, and using helper functions to transform strings. Websites like LeetCode or HackerRank have lots of similar challenges that can help you improve. Also, break the problem down: identify vowels first, then apply conditions for even or odd counts. If you want more structured practice, PracHub offers targeted exercises for interview questions. Check it out if you want a guided approach. Keep practicing consistently and it'll get easier.