Tip 1 : Give priority to problem solving, solve as many problems you can
Tip 2 : Have 2 good projects in your resume
Tip 1 : Include 2 good projects with brief description
Tip 2 : Mention your score in various coding platforms



1) A prime number is a number that has only two factors: 1 and the number itself.
2) 1 is not a prime number.
Sieve of Eratosthenes approach I followed



Kadane's algorithm I followed


For example, If the given integer ‘N’ is 4
Pattern:
1
23
345
4567
Basic logical programming



Sliding Window approach



Input: 'list' = [1, 2, 3, 4], 'k' = 2
Output: 2 1 4 3
Explanation:
We have to reverse the given list 'k' at a time, which is 2 in this case. So we reverse the first 2 elements then the next 2 elements, giving us 2->1->4->3.
All the node values will be distinct.

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?