๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.61K photos
3 videos
95 files
10.6K links
๐ŸšฉMain Group - @SuperExams
๐Ÿ“Job Updates - @FresherEarth

๐Ÿ”ฐAuthentic Coding Solutions(with Outputs)
โš ๏ธDaily Job Updates
โš ๏ธHackathon Updates & Solutions

Buy ads: https://telega.io/c/cs_algo
Download Telegram
public static String getOverallScore(String input) {
        Stack<Character> stack = new Stack<>();

        for (char symbol : input.toCharArray()) {
            while (!stack.isEmpty() && hasHigherPrecedence(symbol, stack.peek())) {
                stack.pop();
            }
            stack.push(symbol);
        }

        StringBuilder result = new StringBuilder();
        for (char symbol : stack) {
            result.append(symbol);
        }
        return result.toString();
    }

    private static boolean hasHigherPrecedence(char newSymbol, char existingSymbol) {
        String precedence = "ABCDEF";
        return precedence.indexOf(newSymbol) < precedence.indexOf(existingSymbol);
    }


Thoughtwork โœ…
static final int MOD = 1000000007;
public static long calculateSurprisingSum(long N) {
        long sum = 0;
       
        for(int i = 0; i <= 33; i++) {
            for(int j = i + 1; j <= 33; j++) {
                for(int k = j + 1; k <= 33; k++) {
                    long number = (1L << i) + (1L << j) + (1L << k);
                    if(number <= N) {
                        sum = (sum + number) % MOD;
                    }
                }
            }
        }
       
        return sum;
    }


Find surprising number sum โœ…
ZS
๐Ÿ“ŒKGiSL Hiring
Freshers as AWS Trainee (AWS & Linux)

Position Title : AWS Trainee or Consultant

Experience : 0 - 1.5 years

Mandatory skill - AWS, Linux

Location  : Coimbatore

Interested candidates can share your CV to praveen.kowsik@kgisl.com
๐Ÿ“Œ Company: Bluetris Technologies

โœจExciting Opportunity for DevOps freshers in Jaipur!

๐Ÿ”น Position: DevOps Engineer
(0-6 Months Experience)
๐Ÿ”น Location: Jaipur

Key Skills:
- Understanding of DevOps principles and practices
- Experience with tools like Docker,    Kubernetes, Jenkins, and Git
- Knowledge of cloud platforms (AWS, Azure, GCP) is a plus
- Strong problem-solving skills and a proactive attitude

๐Ÿ“ฉ To Apply: Send your resume to Khushi.bumb@bluetris.com
๐Ÿ‘1๐Ÿ‘Ž1
import java.util.*;
public class Main {
    public int[] solution(int[] skills) {
        int N = skills.length;
        int[] results = new int[N];
        List<Integer> e = new ArrayList<>();
        for (int i = 0; i < N; i++) {
            e.add(i);
        }
        int round = 1;
             while (e.size() > 1) {
            List<Integer> r = new ArrayList<>(); 
                for (int i = 0; i < e.size(); i += 2) {
                int player1 = e.get(i);
                int player2 = e.get(i + 1);
                if (skills[player1] > skills[player2]) {
                    results[player2] = round;
                    r.add(player1);
                } else {
                    results[player1] = round;
                    r.add(player2);
                }
            }
            e = r;
            round++;
        }
        results[e.get(0)] = round - 1;
        return results;
    }
๐Ÿ‘1๐Ÿ‘Ž1