DEV Community

Prasanna Venketesh
Prasanna Venketesh

Posted on

50th day of my CP journey

This is the 50th day of the Competitive programming journey. I am happy to have started this. Through this journey I have discovered many platforms and their workings. In this journey I had come accross working with Strings, Arrays and many more data structures. Today I have solved questions from Leetcode.

Concepts involved :-

1.N-Queens II - Backtracking, conditional statements, loops.
2.3Sum Closest - Two pointer algorithm, Loops, conditional statements.

First question I did for today is "N-Queens 2". This question is quite similar to N-Queens 1. This also involved deep understanding of backtracking.

Image description

Secondly I did a question names "3 Sum closest". This sum was also quite similar to 3sum. This involved two pointer algorithm to solve this question effeciently.

Image description

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay