Coder Social home page Coder Social logo

tarunsinghdev / dsa-cracker Goto Github PK

View Code? Open in Web Editor NEW
109.0 6.0 66.0 172 KB

This is an attempt to solve 450 questions carefully curated by Love Babbar.

C++ 98.67% JavaScript 1.33%
dsa-cracker dsalgo-questions interview-preparation interview faang-interview data-structures algorithms algorithm-challenges hacktoberfest hacktoberfest-accepted

dsa-cracker's Introduction

Hi, I'm Tarun !

linkedin  mail  hashnode

visitors

A freelance web developer from 🇮🇳India who loves to build stuffs useful for many. gif

  • Always learning.
  • Open for freelance projects.
  • Working on a private repository.

Tech Stack

react redux javascript typescript html css materialui firebase node express mongodb mysql c++ c npm

Tarun's Github stats  Top Langs

dsa-cracker's People

Contributors

ajaytemp avatar akshat-rawat avatar anurrags avatar archit-2003 avatar arul-ashri avatar awdhesh-kumar27 avatar imjericho avatar jagroop2001 avatar krunal-karena avatar moinmulla avatar nerdyvisky avatar nikkilaprakash avatar payal1206 avatar roshano2 avatar royalboss-ayush avatar shivesh41kr avatar simran2000-jpg avatar srajan-kiyotaka avatar srish4884 avatar tanishq1306 avatar tarunsinghdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dsa-cracker's Issues

Tree Problems

Can I add some tree problems under Hacktoberfest2022 contribution?

in the Floyds_Cycle_Detection_Algorithm.cpp

Instead of checking if (head == NULL) and then else if (head->next == head), you could directly combine these into one check for clarity:

if (head == NULL || head->next == head)
return true;

Here's a slightly refined version

#include

using namespace std;

struct Node {
int data;
struct Node *next;
Node(int x) {
data = x;
next = NULL;
}
};

class Solution {
public:
// Function to check if the linked list has a loop.
bool detectLoop(Node *head) {
if (head == NULL || head->next == head)
return true;

    Node *slowPtr = head;
    Node *fastPtr = head->next;

    while (fastPtr != slowPtr) {
        if (fastPtr == NULL || fastPtr->next == NULL)
            return false;

        slowPtr = slowPtr->next;
        fastPtr = fastPtr->next->next;
    }

    return true;
}

};

DSA in Javascript

Hi !!
Hope you are doing well !!
As I Explored this Repository I found DSA in C ++.
Can I contribute in Javascript? I am sure that others who have done DSA in Javascript will contribute to this Repository If it is allowed.
Please let me know if you would accept this proposal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.