Best Grade โ
#include <iostream>
#include <string>
using namespace std;
int sumOfPrimeDigits(int input1) {
int prime_digits[] = {1, 2, 3, 5, 7};
string str_N = to_string(input1);
int prime_sum = 0;
for (char ch : str_N) {
int digit = ch - '0';
for (int prime_digit : prime_digits) {
if (digit == prime_digit) {
prime_sum += digit;
break;
}
}
}
return prime_sum;
}
#include <string>
using namespace std;
int sumOfPrimeDigits(int input1) {
int prime_digits[] = {1, 2, 3, 5, 7};
string str_N = to_string(input1);
int prime_sum = 0;
for (char ch : str_N) {
int digit = ch - '0';
for (int prime_digit : prime_digits) {
if (digit == prime_digit) {
prime_sum += digit;
break;
}
}
}
return prime_sum;
}
class UserMainCode(object):
@classmethod
def classRoom(cls, input1, input2):
res = [0] * input1
seats = [0] * input1
for i in range(input1):
pref = input2[i]
if seats[pref-1] == 0:
seats[pref-1] = 1
res[i] = pref
else:
for j in range(pref -1, input1):
if seats[j] == 0:
seats[j] = 1
res[i] = j + 1
break
else:
for j in range(0, pref-1):
if seats[j] == 0:
seats[j] = 1
res[i] = j + 1
break
return res
Classroom โ
@classmethod
def classRoom(cls, input1, input2):
res = [0] * input1
seats = [0] * input1
for i in range(input1):
pref = input2[i]
if seats[pref-1] == 0:
seats[pref-1] = 1
res[i] = pref
else:
for j in range(pref -1, input1):
if seats[j] == 0:
seats[j] = 1
res[i] = j + 1
break
else:
for j in range(0, pref-1):
if seats[j] == 0:
seats[j] = 1
res[i] = j + 1
break
return res
Classroom โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Job Title: Full Stack Developer (React, Tailwind CSS, MERN Stack)
Location: Remote
About Us:
Fuelemy focuses on streamlining fuel payments for transport businesses, addressing key pain points such as manual and insecure payment processes, risk of fraud and misuse, difficulty in reconciliation, lack of real-time visibility, and limited insights for optimization. We are dedicated to creating a secure, automated, and efficient platform that provides real-time visibility and actionable insights.
Responsibilities:
- Develop and maintain front-end features using React and Tailwind CSS.
- Build and manage back-end services with the MERN stack (MongoDB, Express.js, React, Node.js).
- Collaborate with a dynamic and diverse team to bring projects to life.
- Participate in code reviews and contribute to improving our development processes.
Requirements:
- Proficiency in React and Tailwind CSS for front-end development.
- Experience with the MERN stack for back-end development.
- Ability to work independently and as part of a team in a fast-paced startup environment.
- Average communication skills.
What We Offer:
- Opportunities for collaboration and professional networking.
- Enhancement of your portfolio with real-world projects.
- Development of industry-relevant skills and experience.
Join us and be part of an exciting journey in a rapidly evolving industry! If you are passionate about full stack development and eager to grow with us, we'd love to hear from you.
To Apply:
Please send your resume and a brief introduction about yourself to shreybhargava10@gmail.com/shreyans@fuelemy.com.
Also fill this form :-
https://docs.google.com/forms/d/e/1FAIpQLSfmq85u-bPb2Spm4MxrZeOmzQ31CS8FoFZ-o9TZRTbkbE2QIg/viewform
Monetary compensation won't be provided in initial months of joining .
Location: Remote
About Us:
Fuelemy focuses on streamlining fuel payments for transport businesses, addressing key pain points such as manual and insecure payment processes, risk of fraud and misuse, difficulty in reconciliation, lack of real-time visibility, and limited insights for optimization. We are dedicated to creating a secure, automated, and efficient platform that provides real-time visibility and actionable insights.
Responsibilities:
- Develop and maintain front-end features using React and Tailwind CSS.
- Build and manage back-end services with the MERN stack (MongoDB, Express.js, React, Node.js).
- Collaborate with a dynamic and diverse team to bring projects to life.
- Participate in code reviews and contribute to improving our development processes.
Requirements:
- Proficiency in React and Tailwind CSS for front-end development.
- Experience with the MERN stack for back-end development.
- Ability to work independently and as part of a team in a fast-paced startup environment.
- Average communication skills.
What We Offer:
- Opportunities for collaboration and professional networking.
- Enhancement of your portfolio with real-world projects.
- Development of industry-relevant skills and experience.
Join us and be part of an exciting journey in a rapidly evolving industry! If you are passionate about full stack development and eager to grow with us, we'd love to hear from you.
To Apply:
Please send your resume and a brief introduction about yourself to shreybhargava10@gmail.com/shreyans@fuelemy.com.
Also fill this form :-
https://docs.google.com/forms/d/e/1FAIpQLSfmq85u-bPb2Spm4MxrZeOmzQ31CS8FoFZ-o9TZRTbkbE2QIg/viewform
Monetary compensation won't be provided in initial months of joining .
Google Docs
Fuelemy Hiring
We are thrilled to announce that Fuelemy, a startup currently pre-incubated at SRM Directorate of Entrepreneurship and Innovation (DEI), is looking to expand our dynamic team with talented and passionate individuals. This is an excellent opportunity to gainโฆ
#include <bits/stdc++.h>
using namespace std;
#define INF INT_MAX
int minimumStressLevel(int N, vector<vector<int>>& abw, int X, int Y) {
vector<vector<pair<int, int>>> graph(N + 1);
for (auto& road : abw) {
int a = road[0], b = road[1], w = road[2];
graph[a].push_back({b, w});
graph[b].push_back({a, w});
}
priority_queue<pair<int, int>, vector<pair<int, int>>, greater<pair<int, int>>> pq;
vector<int> dist(N + 1, INF);
pq.push({0, X});
dist[X] = 0;
while (!pq.empty()) {
int u = pq.top().second;
int stress = pq.top().first;
pq.pop();
if (u == Y) return stress;
for (auto& neighbor : graph[u]) {
int v = neighbor.first;
int w = neighbor.second;
int new_stress = max(stress, w);
if (new_stress < dist[v]) {
dist[v] = new_stress;
pq.push({new_stress, v});
}
}
}
return -1;
}
using namespace std;
#define INF INT_MAX
int minimumStressLevel(int N, vector<vector<int>>& abw, int X, int Y) {
vector<vector<pair<int, int>>> graph(N + 1);
for (auto& road : abw) {
int a = road[0], b = road[1], w = road[2];
graph[a].push_back({b, w});
graph[b].push_back({a, w});
}
priority_queue<pair<int, int>, vector<pair<int, int>>, greater<pair<int, int>>> pq;
vector<int> dist(N + 1, INF);
pq.push({0, X});
dist[X] = 0;
while (!pq.empty()) {
int u = pq.top().second;
int stress = pq.top().first;
pq.pop();
if (u == Y) return stress;
for (auto& neighbor : graph[u]) {
int v = neighbor.first;
int w = neighbor.second;
int new_stress = max(stress, w);
if (new_stress < dist[v]) {
dist[v] = new_stress;
pq.push({new_stress, v});
}
}
}
return -1;
}
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
void dfs(int node, int parent, const vector<vector<int>>& adj, const vector<bool>& hasFruit, vector<bool>& visited, int& time) {
visited[node] = true;
for (int neighbor : adj[node]) {
if (neighbor == parent || visited[neighbor]) continue;
dfs(neighbor, node, adj, hasFruit, visited, time);
if (hasFruit[neighbor]) {
time += 2;
}
}
}
int minTime(int n, vector<vector<int>>& edges, vector<bool>& hasFruit) {
vector<vector<int>> adj(n);
for (const auto& edge : edges) {
adj[edge[0]].push_back(edge[1]);
adj[edge[1]].push_back(edge[0]);
}
int time = 0;
vector<bool> visited(n, false);
dfs(0, -1, adj, hasFruit, visited, time);
return time;
}
Magical Forest โ
#include <vector>
#include <algorithm>
using namespace std;
void dfs(int node, int parent, const vector<vector<int>>& adj, const vector<bool>& hasFruit, vector<bool>& visited, int& time) {
visited[node] = true;
for (int neighbor : adj[node]) {
if (neighbor == parent || visited[neighbor]) continue;
dfs(neighbor, node, adj, hasFruit, visited, time);
if (hasFruit[neighbor]) {
time += 2;
}
}
}
int minTime(int n, vector<vector<int>>& edges, vector<bool>& hasFruit) {
vector<vector<int>> adj(n);
for (const auto& edge : edges) {
adj[edge[0]].push_back(edge[1]);
adj[edge[1]].push_back(edge[0]);
}
int time = 0;
vector<bool> visited(n, false);
dfs(0, -1, adj, hasFruit, visited, time);
return time;
}
Magical Forest โ
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
def min_window(s: str, t: str) -> str:
from collections import Counter
target_count = Counter(t)
required_count = len(target_count)
formed = 0
window_counts = {}
min_window_length = float('inf')
min_window_start = 0
left, right = 0, 0
while right < len(s):
char = s[right]
window_counts[char] = window_counts.get(char, 0) + 1
if char in target_count and window_counts[char] == target_count[char]:
formed += 1
while left <= right and formed == required_count:
if right - left + 1 < min_window_length:
min_window_length = right - left + 1
min_window_start = left
char = s[left]
window_counts[char] -= 1
if char in target_count and window_counts[char] < target_count[char]:
formed -= 1
left += 1
right += 1
return s[min_window_start:min_window_start + min_window_length] if min_window_length != float('inf') else "N/A"
from collections import Counter
target_count = Counter(t)
required_count = len(target_count)
formed = 0
window_counts = {}
min_window_length = float('inf')
min_window_start = 0
left, right = 0, 0
while right < len(s):
char = s[right]
window_counts[char] = window_counts.get(char, 0) + 1
if char in target_count and window_counts[char] == target_count[char]:
formed += 1
while left <= right and formed == required_count:
if right - left + 1 < min_window_length:
min_window_length = right - left + 1
min_window_start = left
char = s[left]
window_counts[char] -= 1
if char in target_count and window_counts[char] < target_count[char]:
formed -= 1
left += 1
right += 1
return s[min_window_start:min_window_start + min_window_length] if min_window_length != float('inf') else "N/A"
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
#include <iostream> #include <vector> #include <algorithm> using namespace std; void dfs(int node, int parent, const vector<vector<int>>& adj, const vector<bool>& hasFruit, vector<bool>& visited, int& time) { visited[node] = true; for (int neighborโฆ
import java.util.*;
public class Solution{
static class TreeNode {
int id;
boolean hasFruit;
List<TreeNode> children;
TreeNode(int id, boolean hasFruit) {
this.id = id;
this.hasFruit = hasFruit;
this.children = new ArrayList<>();
}
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int m = scanner.nextInt();
int columns = scanner.nextInt(); used.
TreeNode[] nodes = new TreeNode[n];
for (int i = 0; i < n; i++) {
nodes[i] = new TreeNode(i, false);
}
for (int i = 0; i < m; i++) {
int u = scanner.nextInt();
int v = scanner.nextInt();
nodes[u].children.add(nodes[v]);
nodes[v].children.add(nodes[u]);
}
int treeCount = scanner.nextInt();
boolean[] hasFruit = new boolean[treeCount];
for (int i = 0; i < treeCount; i++) {
hasFruit[i] = scanner.nextInt() == 1;
}
for (int i = 0; i < treeCount; i++) {
nodes[i].hasFruit = hasFruit[i];
}
boolean[] visited = new boolean[n];
Result result = new Result();
dfs(nodes[0], visited, result);
System.out.println(result.time);
}
static class Result {
int time = 0;
}
private static boolean dfs(TreeNode node, boolean[] visited, Result result) {
visited[node.id] = true;
boolean foundFruit = node.hasFruit;
for (TreeNode child : node.children) {
if (!visited[child.id]) {
if (dfs(child, visited, result)) {
result.time += 2; back
foundFruit = true;
}
}
}
return foundFruit;
}
}
Magical Forest โ
public class Solution{
static class TreeNode {
int id;
boolean hasFruit;
List<TreeNode> children;
TreeNode(int id, boolean hasFruit) {
this.id = id;
this.hasFruit = hasFruit;
this.children = new ArrayList<>();
}
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int m = scanner.nextInt();
int columns = scanner.nextInt(); used.
TreeNode[] nodes = new TreeNode[n];
for (int i = 0; i < n; i++) {
nodes[i] = new TreeNode(i, false);
}
for (int i = 0; i < m; i++) {
int u = scanner.nextInt();
int v = scanner.nextInt();
nodes[u].children.add(nodes[v]);
nodes[v].children.add(nodes[u]);
}
int treeCount = scanner.nextInt();
boolean[] hasFruit = new boolean[treeCount];
for (int i = 0; i < treeCount; i++) {
hasFruit[i] = scanner.nextInt() == 1;
}
for (int i = 0; i < treeCount; i++) {
nodes[i].hasFruit = hasFruit[i];
}
boolean[] visited = new boolean[n];
Result result = new Result();
dfs(nodes[0], visited, result);
System.out.println(result.time);
}
static class Result {
int time = 0;
}
private static boolean dfs(TreeNode node, boolean[] visited, Result result) {
visited[node.id] = true;
boolean foundFruit = node.hasFruit;
for (TreeNode child : node.children) {
if (!visited[child.id]) {
if (dfs(child, visited, result)) {
result.time += 2; back
foundFruit = true;
}
}
}
return foundFruit;
}
}
Magical Forest โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name : Tata Steel
Batch : 2026 passouts females
Branches : CS, IT , ECE and core branches aswell.
Scholarship worth 2,00,000 INR + Internship and PPO at Tata Steel.
Link : https://bit.ly/TataSteelWOM
Batch : 2026 passouts females
Branches : CS, IT , ECE and core branches aswell.
Scholarship worth 2,00,000 INR + Internship and PPO at Tata Steel.
Link : https://bit.ly/TataSteelWOM
Mettl
Women of Mettle_2024 on Mercer-Mettl Xathon
Seeking bright young minds that can rise to a technical challenge, Women Of Mettle gives students the opportunity to experience real life technical challenges in the steel industry and gain access to Tata Steel's senior management who act as tutors and mentors.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Indeed is hiring Data Scientist
For 2023, 2022, 2021 grads
CTC - 32LPA - 48LPA
https://www.linkedin.com/posts/nightfury13_data-scientist-matching-science-remote-activity-7204024288067145730-qFq3
For 2023, 2022, 2021 grads
CTC - 32LPA - 48LPA
https://www.linkedin.com/posts/nightfury13_data-scientist-matching-science-remote-activity-7204024288067145730-qFq3
Linkedin
Mohit Jain on LinkedIn: Data Scientist - Matching Science - Remote, Telangana - Indeed.com | 14 comments
We're #Hiring for our India Team!
If you're a #DataScientist itching to work on a large-scale recommendation system, scoring 10s of billions of matchingโฆ | 14 comments on LinkedIn
If you're a #DataScientist itching to work on a large-scale recommendation system, scoring 10s of billions of matchingโฆ | 14 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Ripen Labs is hiring Frontend Devs (Full Time and Part Time)
https://www.linkedin.com/posts/ritvik-varghese-7b636617a_hi-ripen-labs-is-hiring-part-timefull-time-activity-7204053220371951616-CbND
https://www.linkedin.com/posts/ritvik-varghese-7b636617a_hi-ripen-labs-is-hiring-part-timefull-time-activity-7204053220371951616-CbND
Linkedin
ritvik varghese on LinkedIn: Hi, Ripen Labs is hiring part-time/full-time frontend developerโฆ | 26 comments
Hi, Ripen Labs is hiring part-time/full-time frontend developer (Typescript, React JS)
Offering a referral of Rs. 20,000 if you can help us find a good oneโฆ | 26 comments on LinkedIn
Offering a referral of Rs. 20,000 if you can help us find a good oneโฆ | 26 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Exciting Internship Opportunity: Frontend SDE Intern
Role: Frontend SDE Intern
Company: Blendnet.ai
Stipend: โน25,000 per month
Perks: Pre-Placement Offer (PPO)
Responsibilities: Develop user-facing features, engage in responsive design, collaborate with UX/UI designers, optimize application performance, and maintain documentation.
Apply Now ๐: https://www.foundit.in/zuno/app/job/frontend-sde-intern/description?utm_source=campus-ambassador&utm_medium=di_summer_blendnet_1&utm_campaign=ZW4204
Exciting Internship Opportunity: Frontend SDE Intern
Role: Frontend SDE Intern
Company: Blendnet.ai
Stipend: โน25,000 per month
Perks: Pre-Placement Offer (PPO)
Responsibilities: Develop user-facing features, engage in responsive design, collaborate with UX/UI designers, optimize application performance, and maintain documentation.
Apply Now ๐: https://www.foundit.in/zuno/app/job/frontend-sde-intern/description?utm_source=campus-ambassador&utm_medium=di_summer_blendnet_1&utm_campaign=ZW4204
Role: Frontend SDE Intern
Company: Blendnet.ai
Stipend: โน25,000 per month
Perks: Pre-Placement Offer (PPO)
Responsibilities: Develop user-facing features, engage in responsive design, collaborate with UX/UI designers, optimize application performance, and maintain documentation.
Apply Now ๐: https://www.foundit.in/zuno/app/job/frontend-sde-intern/description?utm_source=campus-ambassador&utm_medium=di_summer_blendnet_1&utm_campaign=ZW4204
Exciting Internship Opportunity: Frontend SDE Intern
Role: Frontend SDE Intern
Company: Blendnet.ai
Stipend: โน25,000 per month
Perks: Pre-Placement Offer (PPO)
Responsibilities: Develop user-facing features, engage in responsive design, collaborate with UX/UI designers, optimize application performance, and maintain documentation.
Apply Now ๐: https://www.foundit.in/zuno/app/job/frontend-sde-intern/description?utm_source=campus-ambassador&utm_medium=di_summer_blendnet_1&utm_campaign=ZW4204
www.foundit.in
Frontend SDE (Intern) | Internships, Jobs - Zuno by Foundit
blendnet.ai is hiring for Frontend SDE (Intern) on Zuno by Foundit | Apply now
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Sign Up | LinkedIn
500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Qualcomm
๐ Job Title: Associate Engineer
โ๐ป YOE: 0-2 years
โก๏ธ Apply: https://careers.qualcomm.com/careers/job/446699291289
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
๐ Job Title: Associate Engineer
โ๐ป YOE: 0-2 years
โก๏ธ Apply: https://careers.qualcomm.com/careers/job/446699291289
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
Qualcomm
Associate Engineer- MST | Qualcomm Careers | Engineering Jobs and More | Qualcomm
Search open positions at Qualcomm. Learn more about how our culture of collaboration and robust benefits program allow our employees to live well and exceed their potential.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Jio Haptik is HIRING! ๐
Position: Area Sales Associate
Graduation Years: 2023-2026
Stipend: โน25,000/month + Placement Offer
Locations: Hyderabad / Secunderabad, Telangana, Surat, Pune, Kolkata
๐ Apply Here: https://www.foundit.in/zuno/app/job/sales-development-representative-intern-2/description?utm_source=campus-ambassador&utm_medium=jiohaptik&utm_campaign=ZW4204
Position: Area Sales Associate
Graduation Years: 2023-2026
Stipend: โน25,000/month + Placement Offer
Locations: Hyderabad / Secunderabad, Telangana, Surat, Pune, Kolkata
๐ Apply Here: https://www.foundit.in/zuno/app/job/sales-development-representative-intern-2/description?utm_source=campus-ambassador&utm_medium=jiohaptik&utm_campaign=ZW4204
www.foundit.in
Area Sales Associate - Contract | Internships, Jobs - Zuno by Foundit
Jio Haptik is hiring for Area Sales Associate - Contract on Zuno by Foundit | Apply now