Code Monkey home page Code Monkey logo

wakidurrahman / javascript-algorithms-and-data-structures Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 324 KB

JavaScript based Data-Structures and Algorithms to be used for learning and researching purposes only. Here I had used Unit test, Code coverage and also at future I will setup snapshot test. This project environment support both TS and JS base test.

JavaScript 56.56% TypeScript 43.44%
algorithms algorithms-and-data-structures code-coverage data-structures datastructures-algorithms javascript snapshot-testing unit-test

javascript-algorithms-and-data-structures's People

Contributors

wakidurrahman avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

javascript-algorithms-and-data-structures's Issues

[JavaScriptTM] The stack data structure

  1. Stack data structure
    A stack is a linear data structure that follows the principle of Last In First Out (LIFO).
    This means the last element inserted inside the stack is removed first ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ.
    You can think of the stack data structure as a pile of plates on top of another.
    Here's a JavaScript implementation of a stack data structure ๐Ÿ‘

[JavaScriptTM] The reversing a string in JavaScript.

Reverse a string. It's a common interview question, and it's quite simple. However, if you really want to impress your interviewer, you'd be well-off to understand multiple solutions to the problem. Rather than using built-in methods like ".reverse()" (which is fine, but you may be asked to neglect using it), demonstrate your ability to solve it in different ways.
Here are three solutions to reversing a string in JavaScript.

[JavaScriptTM] Familiarize yourself with these string and array methods. ๐Ÿš€

If you want to make your development life easier, familiarize yourself with these string and array methods. ๐Ÿš€
Learn them inside-out. Try running them on your machine right now to see the behavior of each of them. ๐Ÿ‘
Let us know what you think about these built-in methods down below. Want to increase your JavaScript skills?

Aarray

  • Insertion
  • Deletion
  • Access
  • Iteration

Arrays-02

Helper Functions

  • .slice(begin,end)
  • .splice(begin,size,element1,element2โ€ฆ)
  • .concat()
  • .length Property

Arrays-01

  • Iteration
    • for (Variables; Condition; Modification)
    • while loop.
    • for ( in )
    • for ( of )
    • forEach( )

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.