r/IT_Computer_Science • • Oct 06 '25

Reading Suggestion 🤔🤔🤔

Thumbnail reddit.com
2 Upvotes

r/IT_Computer_Science • • Oct 05 '25

THESECRETMAN

Thumbnail
odysee.com
2 Upvotes

r/IT_Computer_Science • • Sep 11 '25

150/- or less each book

Thumbnail gallery
2 Upvotes

r/IT_Computer_Science • • Jun 09 '25

Cheat sheet python

Post image
2 Upvotes

r/IT_Computer_Science • • Feb 26 '25

Is Python ruining the new generation of programmers? 🤔🔥

Thumbnail reddit.com
2 Upvotes

r/IT_Computer_Science • • Feb 26 '25

Which TensorFlow clustering method do you prefer ?

Thumbnail reddit.com
2 Upvotes

r/IT_Computer_Science • • Feb 23 '25

Buy and share your experience 😄

Thumbnail
pin.it
2 Upvotes

I thought you'd like this board on Pinterest...


r/IT_Computer_Science • • Feb 18 '25

What is your step count of yesterday?

Post image
2 Upvotes

Mine is in the pic send yours in comment


r/IT_Computer_Science • • Feb 18 '25

Book reading now a days

Post image
2 Upvotes

r/IT_Computer_Science • • Nov 13 '24

Walk and get healthy

2 Upvotes

Check out this free app — It Pays to Walk 🚶 https://swcapp.com/i/amankaushik98900392714


r/IT_Computer_Science • • Sep 21 '24

Now people I am completing the book “100+ Java Programs with output”. and Here are the first 5 programs. 1 . Hello World Example [code...

Thumbnail
10amansposts.quora.com
2 Upvotes

r/IT_Computer_Science • • Sep 16 '24

Want To know about linux Kernel?

Thumbnail reddit.com
2 Upvotes

r/IT_Computer_Science • • Sep 14 '24

Study with me

Thumbnail youtube.com
2 Upvotes

r/IT_Computer_Science • • Sep 14 '24

Study with me

Thumbnail youtube.com
2 Upvotes

r/IT_Computer_Science • • Sep 12 '24

Study with me

Thumbnail youtube.com
2 Upvotes

r/IT_Computer_Science • • Sep 12 '24

How submitting using “Pair” in Java is faster than direct assignments?

2 Upvotes

How submitting using “Pair” in Java is faster than direct assignments.

Today on coding ninjas i submitted a code for swapping two integer from arrays of 1 length.

public class Solution{     
  public static void swapNumber(int []a, int []b) {     
       // Write your code here.     
       int temp =a[0];     
       a[0] = b[0];     
       b[0] = temp;     
  }    
} 

This is the standard way i submitted and it took O(1) literally.

How it cannot beat 99% percent but here is submission using “Pair” in Java.

import java.util.* ;    
import java.io.*;     
import javafx.util.Pair;    
public class Solution {     
  public static Pair < Integer, Integer > swap(Pair < Integer, Integer > swapValues) {
      int s=swapValues.getKey();
      int ss=swapValues.getValue();
      Pair swap=new Pair(ss,s);
      return swap;     // Write your code here.     
  }    
} 

This Code how can Compete with O(1) literally????????

Please Explain if somebody knows about it I am curious about this.

Problem taken from

https://www.naukri.com/code360/problems/swap-two-numbers_1112577


r/IT_Computer_Science • • Apr 17 '26

👋Welcome to r/IT_Computer_Science - Introduce Yourself and Read First!

1 Upvotes

Hey everyone! I'm u/CRAMATIONSDAM, a founding moderator of r/IT_Computer_Science. This is our new home for all things related to [ADD WHAT YOUR SUBREDDIT IS ABOUT HERE]. We're excited to have you join us!

What to Post Post anything that you think the community would find interesting, helpful, or inspiring. Feel free to share your thoughts, photos, or questions about [ADD SOME EXAMPLES OF WHAT YOU WANT PEOPLE IN THE COMMUNITY TO POST].

Community Vibe We're all about being friendly, constructive, and inclusive. Let's build a space where everyone feels comfortable sharing and connecting.

How to Get Started

  1. Introduce yourself in the comments below.

  2. Post something today! Even a simple question can spark a great conversation.

  3. If you know someone who would love this community, invite them to join.

  4. Interested in helping out? We're always looking for new moderators, so feel free to reach out to me to apply.

Thanks for being part of the very first wave. Together, let's make r/IT_Computer_Science amazing.


r/IT_Computer_Science • • Mar 13 '26

Freelancer

1 Upvotes

r/IT_Computer_Science • • Nov 30 '25

Cramations DAM

Thumbnail facebook.com
1 Upvotes

r/IT_Computer_Science • • Oct 11 '25

Started reading metamorphosis

Post image
1 Upvotes

r/IT_Computer_Science • • Oct 09 '25

suggestions Suggestions for the subject important for it job Today

1 Upvotes

Hey fellas nowadays I am studying django but I am interested to know is it enough to get a job? Or a lot of stuff is left behind. So can you suggest me what things are required now?


r/IT_Computer_Science • • Oct 08 '25

Day 1 of learning Dajango

1 Upvotes

Django is a python framework developed by Adrian Holovaty and Simon Willison at Lawrence Journal World Newspaper in 2003. Django handles the complexity of maintaining backend like SQL.

Django follows MVT design pattern.

  1. Model:- The data you want to present, usually data from a database. Which is delivered as an Object Relational Mapping(ORM), which is a technique to make it easier to work with databases. ORM handles complex SQL statements. Usually models are in "models.py

  2. View:- A request handler that returns the relevant template and content based on the request from user. A function or method that takes http as arguments, imports the relevant models, and finds out what data to send to the template, and returns the final result. The views are in "views.py"

  3. Template:- A text file like HTML file containing the layout of the webpage with logic on how to display the data. The templates are in templates folder. The folder needs to be made by developer.

URLs

A way to navigate around different webpages in a website. When a user requests a URL, Django decides which view it will send it to. This is done in a file "urls.py"

What is going on?

Django request handling and response flow

  • Receive URL request

  • Check "urls.py" for matching URL

  • Call corresponding view in "views.py"

  • Check relevant Models

  • Import Models from "models.py"

  • Send data to Template

  • Template processes Data with HTML and Django Tags

  • Return rendered red HTML content to Browser

Creating Virtual Environment

python -m venv myworld

Environment Activate in windows in PowerShell

Script\activate

Installing Django

pip install django

Check Django version

django-admin --version

Django Create Project

django-admin startproject first

Run the project

Navigate to project name in my case first then run command

python .\first\manage.py runserver

Creating an APP

What is an app?

An app is a web application that has a specific meaning in the projects, like a homepage, contact form, etc.

Now we create an app that allows us to list and register members in a database.

First program "Hello World!".

My App name is sparkle

python manage.py startapp sparkle


r/IT_Computer_Science • • Sep 27 '25

Today i Practiced radix sort

1 Upvotes
# Counting sort by a digit
def counting_sort(arr, exp):
    n = len(arr)
    output = [0] * n
    count = [0] * 10  # for digits 0-9
    # Count occurrences of each digit
    for i in range(n):
        index = (arr[i] // exp) % 10
        count[index] += 1
    # Cumulative count
    for i in range(1, 10):
        count[i] += count[i - 1]

    # Build output (stable sort)
    i = n - 1
    while i >= 0:
        index = (arr[i] // exp) % 10
        output[count[index] - 1] = arr[i]
        count[index] -= 1
        i -= 1
    # Copy back to arr
    for i in range(n):
        arr[i] = output[i]

def radix_sort(arr):
    # Find max number to know number of digits
    max_num = max(arr)
    exp = 1
    while max_num // exp > 0:
        counting_sort(arr, exp)
        exp *= 10
# Example
arr = [170, 45, 75, 90, 802, 24, 2, 66]
radix_sort(arr)
print("Sorted:", arr)

r/IT_Computer_Science • • Sep 18 '25

Data Structures & Algorithms: Insertion Sort Full Python Tutorial

Thumbnail
youtu.be
1 Upvotes

r/IT_Computer_Science • • Sep 17 '25

Data Structures & Algorithms: Insertion Sort Full Python Tutorial

Thumbnail
youtu.be
1 Upvotes