Recent Posts
lose 1 lb a day while eating garbo
33lpa corporate vs 16 lpa drdo
NATION
India
What is India planning to do?
my brown life
BhaCh is dead because of 12 hour timer
HAPPPENING!!
I have a strong uncontrollable urge to post my fac...
What school did you guys study in
Chut ka chakkar bada bhayankar
Big News
APSARA TROON
dark and soul crushing edits please post them
BDLpill
.
truceliya hours
so today I deleted my facebook and proton mail acc...
Brooo shut the fuck up I am knowing maxxing
Nothing happened 💀
कारण
Could he realistically win the 2026 World Cup?
gLAurJ
No.135247
to all underagenegroes here, dont take cse if you arent above average in intelligence or atleast 110 IQ, i am unable to do leetcode, now tell me some jobs in IT that doesnt require extreme problem solving and basic click tier stuff


hTPqPG
No.135256
>>135247(OP)
webdev and tech support
yidRKU
No.135261
>>135247(OP)
Join any service based company


eUaW3y
No.135264
>>135247(OP)
What if you have the IQ but not the attention span and focus and ability to grind ?
gLAurJ
No.135265
>>135264
leetcode questions generally require you to give atleast an hour in most cases.
gLAurJ
No.135266
>>135265
you have to think logic, try it and refine it to work, its all so retarded fuckin shit.
BRrrGD
No.135272
>>135247(OP)
>Implying coding magically makes us tech anon a super IQ demi god kek
You are silly anon and you did make a mistake. It is fine, but don't claim this has anything to do with IQ. People have a natural aptitude for some things, and they don't forget certain things. Two people of same IQ can struggle with skills of each other.
It is true that known technical fields are a little less brutal for those who are not good at problem solving. But do not sell yourself short, because I know countless senior engineers in firms like accenture and other companies who can't code properly for SHIT, kek.
Go for a simpler job such as webdev, try to work on a project anon. I strongly suggest you take a page from Dayush chan's book of femboy coders and proceed to create a fun website for yourself. You could also take a lesson from the emoji namefag and make a small game. It should be something worth your interest. It should be the kind of thing you will do for yourself, not others.
Anyways anon, here cheer up a little bit.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Mini Side Scroller</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="startScreen">
<img id="titleImage" src="bharatchan.png" alt="BharatChan Logo" />
<div class="titleText">Take Admin to Aafis Side Scroller</div>
<button id="startBtn">Start Journey of Dayush</button>
</div>
<canvas id="gameCanvas"></canvas>
<div id="controls">
<div>
<button class="control-button" id="leftBtn">←</button>
<button class="control-button" id="rightBtn">→</button>
</div>
<button class="control-button" id="jumpBtn">JUMP</button>
</div>
<script src="script.js"></script>
</body>
</html>
>CSS
html, body {
margin: 0;
padding: 0;
height: 100%;
background-color: black;
overflow: hidden;
touch-action: none;
}
canvas {
display: block;
margin: 0 auto;
background: black;
}
#controls {
position: fixed;
bottom: 20px;
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 20px;
z-index: 10;
}
.control-button {
padding: 15px 25px;
font-size: 18px;
background-color: #00bfff;
border: none;
border-radius: 10px;
color: black;
}
#startScreen {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: black;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: white;
font-size: 24px;
z-index: 999;
}
#titleImage {
width: 220px;
animation: float 2.5s ease-in-out infinite;
margin-bottom: 20px;
}
.titleText {
margin-bottom
BRrrGD
No.135278
>>135272
>JS 1
const canvas = document.getElementById("gameCanvas");
const ctx = canvas.getContext("2d");
const jumpBtn = document.getElementById("jumpBtn");
const leftBtn = document.getElementById("leftBtn");
const rightBtn = document.getElementById("rightBtn");
const startScreen = document.getElementById("startScreen");
const startBtn = document.getElementById("startBtn");
function resizeCanvas() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
}
window.addEventListener("resize", resizeCanvas);
resizeCanvas();
const groundY = canvas.height - 40;
const player = {
x: 50,
y: groundY - 30,
width: 20,
height: 30,
color: "#00bfff",
dy: 0,
dx: 0,
gravity: 1,
speed: 3,
jumpPower: -18,
onGround: true,
};
const barrel = {
x: canvas.width * 0.5,
y: groundY - 20,
width: 20,
height: 20,
color: "#00bfff"
};
const goal = {
x: canvas.width - 50,
y: groundY - 30,
width: 20,
height: 30,
color: "#00bfff"
};
let gameOver = false;
let gameStarted = false;
function jump() {
if (player.onGround && !gameOver) {
player.dy = player.jumpPower;
player.onGround = false;
}
}
function moveLeft() {
player.dx = -player.speed;
}
function moveRight() {
player.dx = player.speed;
}
function stopMove() {
player.dx = 0;
}
document.addEventListener("keydown", (e) => {
if (e.code === "Space") jump();
if (e.code === "ArrowLeft") moveLeft();
if (e.code === "ArrowRight") moveRight();
});
document.addEventListener("keyup", (e) => {
if (e.code === "ArrowLeft" || e.code === "ArrowRight") stopMove();
});
jumpBtn.addEventListener("touchstart", e => { e.preventDefault(); jump(); });
leftBtn.addEventListener("touchstart", e => { e.preventDefault(); moveLeft(); });
rightBtn.addEventListener("touchstart", e => { e.preventDefault(); moveRight(); });
leftBtn.addEventListener("touchend", e => { e.preventDefault(); stopMove(); });
rightBtn.addEventListener("touchend", e => { e.preventDefault(); stopMove(); });
startBtn.addEventListener("click", () => {
startScreen.style.display = "none";
gameStarted = true;
loop();
});
function update() {
if (!gameStarted || gameOver) return;
player.dy += player.gravity;
player.y += player.dy;
player.x += player.dx;
if (player.y >= groundY - player.height) {
player.y = groundY - player.height;
player.dy = 0;
player.onGround = true;
}
if (
player.x < barrel.x + barrel.width &&
player.x + player.width > barrel.x &&
player.y < barrel.y + barrel.height &&
player.y + player.height > barrel.y
) {
alert("Game Over: Hit the barrel!");
gameOver = true;
}
if (player.x + player.width >= goal.x) {
alert("Victory!");
gameOver = true;
}
}
function drawPixelCharacter(x, y) {
ctx.fillStyle = "#00bfff";
ctx.fillRect(x, y, 10, 10); // Head
ctx.fillRect(x + 2, y + 10, 6, 10); // Body
ctx.fillRect(x + 1, y + 20, 3, 10); // Left leg
ctx.fillRect(x + 6, y + 20, 3, 10); // Right leg
ctx.fillRect(x - 4, y + 10, 4, 6); // Left arm
ctx.fillRect(x + 10, y + 10, 4, 6); // Right arm
}
function draw() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
// Road
ctx.fillStyle = "#111";
ctx.fillRect(0, groundY, canvas.width, 40);
for (let i = 0; i < canvas.width; i += 40) {
ctx.fillStyle = "#333";
ctx.fillRect(i, groundY + 15, 20, 5);
}
BRrrGD
No.135280
>>135278
>JS 2
drawPixelCharacter(player.x, player.y);
ctx.fillStyle = barrel.color;
ctx.fillRect(barrel.x, barrel.y, barrel.width, barrel.height);
ctx.fillStyle = goal.color;
ctx.fillRect(goal.x, goal.y, goal.width, goal.height);
}
function loop() {
update();
draw();
if (!gameOver && gameStarted) requestAnimationFrame(loop);
}
>Made Dayush blue, may add a tail later, kek.

!lmOJk15ILR6OW/a

j+dKnQ
No.135281
>>135247(OP)
>leetcode
Try codewars
And do it in an easier language
Leetcode has issues
It's okay to google how to do stuff.
That's how you learn
gLAurJ
No.135282
>>135272
its not necessary i cant think of a logic, i do webdev and i can think of logic there and implement it but here in leetcode when i think of a logic, i fail to do it likely because i dont know some utility or method or function from stl, or i end implementing logic 80% correctly with some mistakes and errors and this almost happens too often. even the ones i coded myself and they work, i have to give a lot of time to it which almost made me felt demoralised today.
>People have a natural aptitude for some things, and they don't forget certain things. Two people of same IQ can struggle with skills of each other.
i have a friend in batch who probably IQmogs me but he says he cant solve leetcode at all either.
gLAurJ
No.135283
>>135281
i see
>Leetcode has issues
elaborate?
also any thots on codeforces? a lot of people i know do cp in my kalej instead of leetcode.
gLAurJ
No.135284
BRrrGD
No.135287
>>135282
> i have to give a lot of time to it which almost made me felt demoralised today.
That's all of us lmao, not just you. Your warning to nanha anons is right. Don't follow a line you have no skill on, in the end you will only be the one to fool yourself. However you yourself know that is not the issue with you.
All of us struggle with something while coding. We always can not know every single library or utility, and if we don't now, we will as the time passes. Be kind to yourself anon. Know that you are only competing with yourself. You will never know how much those arround you cope and seethe on inside when the code fractures.
>i have a friend in batch who probably IQmogs me but he says he cant solve leetcode at all either.
Yaar i IQ mog most of my homies, and I can't code for shit sometimes. They can do with very well with specific cases because they all have gained familiarity with it. You said it yourself, it is not an IQ issue. It is about the ability to solve problems, and you'll get better at it.
>>135283
>Thots
All coders will be 100 times more productive if a raunchy, slutty petite qt was sucking our massive pent up cocks under the desk while coded. I am not even kidding, government should issue us a cock sleeve yaar.

!lmOJk15ILR6OW/a

j+dKnQ
No.135288
>>135283
>elaborate?
There are problems which you simply cannot solve on your own unless you know the solution already.
For example, there's a problem that basically requires you to implement Levenshtein distance.
And you cannot do that unless you know about it already.
He actually published that as a part of his research back in the day.
BRrrGD
No.135291
>>135284
LMAO, ikr? I just jokingly made this game, but now that I have, might as well turn it into a full fledged mobile web game kek. I will call it the "Journey of Dayush to Aafis". Then their will be a sequel, "Journey of Dayush to Sandas Anon's mom's bedroom, the PLAP PLAP" kek.

!lmOJk15ILR6OW/a

j+dKnQ
No.135298
wLrG4f
No.135304
>>135247(OP)
Learn salesforce or some simliar shit and hop in

BRrrGD
No.135309
>>135298
I know anon, I am very hyped for the horror game. I am SHIT at java script tho, even this one I pulled out of ass. 3 years is marketing kills a man's ability to code. I'll go their, anyways.
gLAurJ
No.135365

EKAmGX
No.135389
>>135281
yep leetcode is only good if you’re really really good at memorizing CP patterns.
precious years of advent of code, clash of code are good at good at getting good at coding


RfnUIZ
No.135422
>>135394
kek

DR5f/V
No.135429
>>135247(OP)
>leetcode
it's all Maths, If you never prepared for Olympiads, you won't be able to cope with it.
At the end you will have to memorise all of it like chamars.