Reverse an array without affecting special characters | GeeksforGeeks

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 9

  • @prabinpanda2882
    @prabinpanda2882 3 ปีที่แล้ว

    Solution is little wrong. Assume you have more than one special char together.
    Instead of if(!alpha....) It should be while(! Alpha).

  • @venuboini8020
    @venuboini8020 3 ปีที่แล้ว +1

    Can you provide solution in JAVASCRIPT programming

  • @I-PixALbI4-I
    @I-PixALbI4-I 4 ปีที่แล้ว +1

    I wrote the same on C# but my mentor told me solve the task with Stack )

  • @govindtiwari2585
    @govindtiwari2585 3 ปีที่แล้ว

    Sir could you please help with Coding to ignore special characters whlie printing the even and odd characters in a string

  • @urmadhu6367
    @urmadhu6367 4 ปีที่แล้ว +1

    Sry can't understand

  • @logenaldo
    @logenaldo 6 ปีที่แล้ว

    Can you provide solution in C programming

    • @shivamagarawal8236
      @shivamagarawal8236 5 ปีที่แล้ว

      #include
      #include
      #include
      using namespace std;
      string printrev(string str){
      int l=0;
      int r= str.length()-1;
      while(l>str;
      cout

  • @wecan2729
    @wecan2729 3 ปีที่แล้ว

    class Solution
    {
    public:
    bool isAlphabet(char x)
    {
    return ( (x >= 'A' && x = 'a' && x