Git Product home page Git Product logo

academics's Introduction

Ranit Pradhan 

Image


  • I’m currently sleeping 😴 or working on my Linux 👨‍💻
  • Exploring in Embedded Systems Development.
  • Looking to collaborate on Embedded & IoT Security Projects.
  • Like to spend sometime with CTFs🚩 and finding 🐛
  • Fun fact: Big fan of The Copy Ninja 👉
  • Have a look at my Repos💡 & do leave a Star ⭐️ if you liked my work 👨‍💻.

Spotify Playing 🎧

Spotify


ovi ovi

Languages and Tools:






Connect with me

Ranit Pradhan | Linkedin    Ranit Pradhan | Instagram    Vivek Kumar Singh | Gmail



visitors

academics's People

Contributors

deeptiiii avatar harshitha1426 avatar harshithagupta2614 avatar ranitpradhan avatar sanjana23249 avatar soumichatterjee avatar susm1tt1331 avatar

Watchers

 avatar

academics's Issues

Python Run Issue

git-issue

Worked with C++ but showed this problem with python 3.

Python code:

def findZigZagSequence(a, n):
    a.sort()
    mid = int(n/2) #changed
    a[mid], a[n-1] = a[n-1], a[mid]
    st = mid + 1
    ed = n - 2 #changed
    while(st <= ed):
        a[st], a[ed] = a[ed], a[st]
        st = st + 1
        ed = ed - 1 #changed

    for i in range (n):
        if i == n-1:
            print(a[i])
        else:
            print(a[i], end = ' ')
    return

test_cases = int(input())
for cs in range (test_cases):
    n = int(input())
    a = list(map(int, input().split()))
    findZigZagSequence(a, n)

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.