Tip 1 : Practice upwards of 150 questions.
Tip 2 : Practice system design with real world examples
Tip 3 : Do time constraint problem solving
Tip 1 : Concise single page
Tip 2 : Highlight what you have worked on that have also been mentioned in the JD



We cannot use the element at a given index twice.
Try to do this problem in O(N) time complexity.



Input:
'num1' : 1 -> 2 -> 3 -> NULL
'num2' : 4 -> 5 -> 6 -> NULL
Output: 5 -> 7 -> 9 -> NULL
Explanation: 'num1' represents the number 321 and 'num2' represents 654. Their sum is 975.



(1) Do not use data types with the capacity of more than 32-bit like ‘long int’ or ‘long long int’ in C++. The problem is meant to reverse the integer using a 32-bit data type only.
(2) You should assume that the environment does not allow storing signed or unsigned 64-bit integers.



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".









Was asked to create and define a webApp with micro frontend approach.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?