Get ready for coding interviews with easy TypeScript problems. Build a solid foundation by tackling challenges like reversing strings, finding maximum numbers in arrays, and prime-checking. These exercises will enhance your problem-solving skills and boost your interview confidence.
Overview
Syllabus
- Unit 1: Practicing TypeScript Fundamentals: Type Safety and String Manipulation
- Find Vowel Positions in a String
- Shift Letters by One in Alphabet
- Transform Case Without Built-in Methods
- Replace Character in a String Without Using Built-in Methods
- Swap Adjacent Characters in a String
- Check if a String is a Palindrome Without Using Built-in Methods
- Unit 2: Basic Array Operations in TypeScript Without Built-in Methods
- Find Minimum Number in Array without Math.min
- Count Even and Odd Integers in an Array
- Count the Occurrences of the Smallest Element in an Array
- Finding the Second-Largest Number in an Array
- Unit 3: Standard Math Algorithms in TypeScript
- Determine Perfect Square Number
- Next Prime Number Finder
- Co-prime Numbers Checker Task
- Finding the N-th Prime Number
- Get Unique Prime Factors of an Integer
- Unit 4: Array Operations in TypeScript Without Built-in Functions
- Find First Occurrence Index of a Value in Array
- Count Unique Elements in an Array
- Reverse Array Without Built-in Methods
- Circular Array Shift in TypeScript
- Determine Contiguous Subarray
- Unit 5: Simple Recursion in TypeScript
- Get Sum Using Recursion
- Recursive Countdown Function
- Sum of Digits Raised to Their Positions
- Recursive String Reversal Task
- Fibonacci Finder Using Recursion with Memoization