Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

an HCL GUVI product

Home /Programming Exercises /TypeScript/ Advanced

TypeScript Exercises

Master TypeScript with hands-on practice problems across Beginner, Intermediate, and Advanced tracks. Filter by level, difficulty or status, and solve in our in-browser compiler.

88 questions0 / 88 solved3 levelsUpdated weekly

Programming Tracks16 Tracks

Py

Python

90 Questions
Progress0 / 90 (0%)
BeginnerIntermediateAdvanced
☕

Java

90 Questions
Progress0 / 90 (0%)
BeginnerIntermediateAdvanced
C++

C++

90 Questions
Progress0 / 90 (0%)
BeginnerIntermediateAdvanced
TS

TypeScript

88 Questions
Active Track0 / 88 (0%)
BeginnerIntermediateAdvanced

TypeScript Questions29 Problems

0/88 Solved
QuestionDifficultyProgressStatus
TSWrite a function to perform a deep clone of an object.TypeScript · Advanced
Hard0%Not Started
TSImplement a singleton class in TypeScript.TypeScript · Advanced
Hard0%Not Started
TSWrite a program to solve the Tower of Hanoi problem for n disks.TypeScript · Advanced
Hard0%Not Started
TSCreate a function to generate all permutations of a given string.TypeScript · Advanced
Hard0%Not Started
TSWrite a program to find the shortest path in an unweighted graph using BFS.TypeScript · Advanced
Hard0%Not Started
TSCreate a function that memoizes the result of a computationally expensive function.TypeScript · Advanced
Hard0%Not Started
TSImplement a custom event emitter class with methods on, emit, and off.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to parse a query string into an object.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to merge two sorted arrays into one sorted array without duplicates.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to validate a deeply nested object structure against a given schema.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to convert a callback-based function to a Promise-based one.TypeScript · Advanced
Hard0%Not Started
TSImplement a function that returns all subsets of a given set (Power Set).TypeScript · Advanced
Hard0%Not Started
TSWrite a function to detect a cycle in a directed graph using the DFS algorithm.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to calculate the edit distance (Levenshtein distance) between two strings.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to convert a deeply nested object into a flat object.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to group elements of an array by a property.TypeScript · Advanced
Hard0%Not Started
TSImplement a function to calculate the lowest common ancestor in a binary search tree.TypeScript · Advanced
Hard0%Not Started
TSWrite a program to implement a rate limiter that allows N executions per second.TypeScript · Advanced
Hard0%Not Started
TSWrite a program to detect a cycle in a linked list.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to calculate the majority element in an array (an element that appears more than n/2 times).TypeScript · Advanced
Hard0%Not Started
TSWrite a TypeScript function to generate a random UUID.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to debounce an input function with immediate execution support.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to serialize and deserialize a binary tree.TypeScript · Advanced
Hard0%Not Started
TSWrite a function to implement the Josephus problem for n people and a step size k.TypeScript · Advanced
Hard0%Not Started
TSWrite a program to find the longest increasing subsequence (LIS) in an array of numbers.TypeScript · Advanced
Hard0%Not Started
RowsShowing 1 - 25 of 29

Frequently asked questions

What programming languages are covered in the exercises?
Our platform supports Python, Java, C, C++, JavaScript, and more languages used in the industry today.
How are the exercises divided across difficulty levels
Our exercises are organized into Beginner, Intermediate, and Advanced levels, letting you progress naturally.
Are the exercises suitable for both beginners and experienced coders?
Yes, the exercises are suitable for both beginners and experienced coders.
How do topic-wise exercises help in better learning?
The topic-wise exercises let you focus on one concept at a time, strengthening your understanding step by step.
Do the exercises cover both basic syntax and complex algorithms?
Yes, from basic syntax to complex algorithms, our exercises span the full range of programming challenges.
Can these exercises prepare me for coding interviews?
Yes, these exercises are designed to match real interview questions, helping you prepare for coding interviews.
Is there an integrated IDE on the platform to run and test the code?
Yes, our platform includes a built-in web IDE where you can write, test, and run your code instantly.
Do the exercises include solutions or hints for guidance?
Yes, when you're stuck, you can access helpful hints or study complete solutions to learn different approaches.
Are there any prerequisites for attempting the advanced-level exercises?
Yes, advanced exercises require a solid understanding of the basics and intermediate concepts of your chosen language.
How do these exercises improve coding speed and efficiency?
Through consistent practice and exposure to diverse challenges, you'll naturally become faster and more efficient at coding.
Is there a time limit for completing each exercise?
No, take as long as you need – our focus is on learning, not racing against the clock.
Are the exercises updated regularly to include new challenges?
Yes, we consistently update our exercise collection to include new challenges and keep up with industry trends.