Abhishek Ahlawat Profile
Abhishek Ahlawat

@AbhishekAh89825

Followers
124
Following
3K
Media
113
Statuses
2K

MTech IT '24 | Aspiring Full Stack Developer | Android Dev (Published apps on Google Play) | Ex-Infosys | 2x AWS Certified | Content Creator @MPC

New Delhi, India
Joined June 2024
Don't wanna be here? Send us removal request.
@AbhishekAh89825
Abhishek Ahlawat
8 months
Full solution and code here: https://t.co/8MXJocNc6Q
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
This solution is simple but can be optimized by reversing the second half of the linked list in place and comparing nodes.
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
Time complexity is O(N) and space complexity is also O(N), due to the intermediate string.
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
Solved Palindrome Linked List by converting the linked list to a string and checking it using two-pointer comparison.
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
Also spent time revising core JavaScript concepts—closures, async patterns, scopes, and DOM handling—for frontend interviews
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
In TypeScript, you can mix data types in an array using union types. Example: (string | number)[] lets you store both strings and numbers in the same array safely.
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
Continued with TypeScript experimentation and JavaScript revision, and also solved a common linked list interview problem. Here's what I learned today.
1
0
2
@AbhishekAh89825
Abhishek Ahlawat
8 months
Complete solution here: https://t.co/8MXJocNc6Q
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
On the DSA side, solved Best Time to Buy and Sell Stock using a greedy single-pass approach
1
0
0
@AbhishekAh89825
Abhishek Ahlawat
8 months
Revised the concept of IIFE (Immediately Invoked Function Expressions) in JavaScript. They allow functions to execute immediately and are useful for creating isolated scopes.
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
When using union types like string | number, TypeScript doesn’t allow direct access to string methods unless the type is narrowed. Use typeof checks before applying string-specific methods.
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
Today I learned more about TypeScript edge cases, continued my JavaScript interview prep, and solved a classic greedy problem. Here’s what I explored. #TypeScript #JavaScript #GreedyAlgorithms
2
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
Full implementation and explanation: https://t.co/8MXJocMEhi
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
Inserted all suffixes of the string into a Trie. Each unique path represents a unique substring.
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
On the algorithm side, solved the Count Distinct Substrings problem using a Trie-based approach.
1
0
1
@AbhishekAh89825
Abhishek Ahlawat
8 months
Also started revising JavaScript fundamentals for interviews—important for tackling both frontend logic and system-level design rounds.
1
0
1